[patch] KWindowSystem on Windows

Jarosław Staniek js at iidea.pl
Sun Mar 2 18:39:58 CET 2008


For review.
Addes some implementation of KWindowSystem::setState() 
KWindowSystem::clearState() and some notes on possible future improvements.

This makes KNotes nicely stay-on-top almost with no #ifdefs./

affected setState() behaviour:

NET::Max now shows the window with SW_SHOWMAXIMIZED flag,
NET::KeepAbove sets window pos with HWND_TOPMOST
NET::Hidden hides the window
NET::FullScreen resizes the window tothe size of the screen
NET::KeepBelow calls KWindowSystem::lowerWindow()
NET::DemandsAttention calls KWindowSystem::demandAttention()
  with 2nd arg==true

affected clearState() behaviour:

NET::Max shows the window using SW_SHOWNORMAL flag
NET::KeepAbove shows with HWND_NOTOPMOST flag
NET::KeepBelow calls KWindowSystem::raiseWindow()
NET::DemandsAttention calls KWindowSystem::demandAttention()
  with 2nd arg==false

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
  KDE Libraries for MS Windows (http://windows.kde.org)



More information about the Kde-windows mailing list