2011-04-12 13:08 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)

* contrib/hbxbp/xbpgeneric.prg
  * contrib/hbxbp/xbpwindow.prg
    ! Fixed: where XbpDialog() was calculating positions incorrectly 
      for whole frame instead of primary monitor.
This commit is contained in:
Pritpal Bedi
2011-04-12 20:12:10 +00:00
parent a769bf804b
commit f4619892de
3 changed files with 14 additions and 3 deletions

View File

@@ -16,6 +16,12 @@
The license applies to all entries newer than 2009-04-28.
*/
2011-04-12 13:08 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpgeneric.prg
* contrib/hbxbp/xbpwindow.prg
! Fixed: where XbpDialog() was calculating positions incorrectly
for whole frame instead of primary monitor.
2011-04-12 12:42 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/gtqtc/gtqtc.cpp
* contrib/hbqt/gtqtc/gtqtc.h

View File

@@ -293,8 +293,7 @@ FUNCTION SetAppFocus( oXbp )
FUNCTION AppDesktop()
IF s_oDeskTop == NIL
s_oDeskTop := XbpWindow():new()
s_oDeskTop:oWidget := HbpAppDesktop():new():create()
s_oDeskTop := HbpAppDesktop():new():create()
ENDIF
RETURN s_oDeskTop

View File

@@ -1282,7 +1282,13 @@ METHOD XbpWindow:currentPos()
METHOD XbpWindow:currentSize()
RETURN { ::oWidget:frameGeometry():width(), ::oWidget:frameGeometry():height() }
IF ::className() == "HBPAPPDESKTOP"
RETURN { ::width(), ::height() }
ELSE
RETURN { ::oWidget:frameGeometry():width(), ::oWidget:frameGeometry():height() }
ENDIF
RETURN {}
/*----------------------------------------------------------------------*/