![]() |
OpenEdge Minimize Restore Close Buttons Disabled |
Post Reply ![]() |
Author | |
pberox ![]() Newbie ![]() ![]() Joined: 19 October 2009 Location: Austria Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() Posted: 19 October 2009 at 7:43am |
I am using rel 13.1 demo to evaulate the possibilty to have Office 2007 skin in our Progress OpenEdge (9.1e / 10.1c) applications.
The Minimize, Restore and Close button are Not active when the skin is applyed to a OpenEdge WINDOW.
the Close button works as expected with OpenEdge DIALOG.
I tried :
mySkin:AddWindowClass("ProMainWin","MDIClient").
The Minimize/Restore/Close work well but the menu is not displayed.
I tried also all the possible combination of MySkin:ApplyOptions
the only working is MySkin:ApplyOptions = 14 ( xtpSkinApplyColors + xtpSkinApplyFrame + xtpSkinApplyMenu)
the MySkin:ApplyMetrics make strange windows resize.
thanks for your help,
Paolo
|
|
![]() |
|
adwild2 ![]() Groupie ![]() ![]() Joined: 17 December 2008 Location: Netherlands Status: Offline Points: 16 |
![]() ![]() ![]() ![]() ![]() |
You should apply the skin to the Windows-window of the OpenEdge-window. The handle to the Windows-window can be retrieved with the GetParent function in user32.dll. To get the windows buttons working you should add a commandbars object to the window (it doesn't have to be visible).
Example:
|
|
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP SP3 (32bit) Language: Progress OpenEdge 10.2A |
|
![]() |
|
pberox ![]() Newbie ![]() ![]() Joined: 19 October 2009 Location: Austria Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
Thanks for the Help tip, I will try today!!! ;-)
Ciao,
Paolo
|
|
![]() |
|
oli.dune ![]() Groupie ![]() Joined: 18 June 2010 Status: Offline Points: 25 |
![]() ![]() ![]() ![]() ![]() |
I there,
I tried to add a CommandBars control, the min/max/close buttons are available again, but the window's menubar is still hidden when the :AttachToWindow() method is invoked (although accelerators are still working). Any advice? Thanks in advance |
|
Product: Xtreme SuitePro (ActiveX) version 16.4.0
Platform: Windows 10 (64bit) Language: OpenEdge 11.7.4 |
|
![]() |
|
oli.dune ![]() Groupie ![]() Joined: 18 June 2010 Status: Offline Points: 25 |
![]() ![]() ![]() ![]() ![]() |
Solution is to call :DeleteAll() right after :AttachToWindow().
|
|
Product: Xtreme SuitePro (ActiveX) version 16.4.0
Platform: Windows 10 (64bit) Language: OpenEdge 11.7.4 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |