![]() |
[Closed] Dialog Problem |
Post Reply ![]() |
Author | ||
Simon HB9DRV ![]() Senior Member ![]() ![]() Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
![]() ![]() ![]() ![]() ![]() Posted: 17 September 2006 at 2:49pm |
|
I have a dialog inside a pane, I cannot for the life of me get the toolbar to have any size - it is not displayed, GetClientRect returns 0.
From the class declaration:
Here's the code in OnInitDialog, aim is to have the toolbar displayed on the left, I have tried top, everywhere!:
|
||
Simon HB9DRV
|
||
![]() |
||
Simon HB9DRV ![]() Senior Member ![]() ![]() Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
![]() ![]() ![]() ![]() ![]() |
|
BTW - project is too big to send but I can supply classes etc.
|
||
Simon HB9DRV
|
||
![]() |
||
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
|
Hi,
Did you catch WM_SIZE?
need to catch, call base method, and call
RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST, 0);
|
||
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
![]() |
||
Simon HB9DRV ![]() Senior Member ![]() ![]() Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
![]() ![]() ![]() ![]() ![]() |
|
![]() Forgot RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST, 0); Have 8 hero points ![]() |
||
Simon HB9DRV
|
||
![]() |
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 |