![]() |
resizable dialog & problem with toolbar |
Post Reply ![]() |
Author | |
Joe Brown ![]() Newbie ![]() Joined: 01 March 2004 Status: Offline Points: 15 |
![]() ![]() ![]() ![]() ![]() Posted: 01 March 2004 at 10:52am |
I have a CXTResizeDialog app and added a toolbar to the top. My dialog also has a few buttons and list controls. When the app starts, everything looks fine, but as soon as I resize the dialog in any direction, all of the controls resize incorrectly.
It almost seems as if they don't take into account the presence of the toolbar when recalculating new sizes and positions, because I've commented out my toolbar code and everything works fine. Here is my OnInitDialog function. I took the toolbar creation and resizing code from one of the sample dialog apps and toolbar apps.
|
|
![]() |
|
Alex H. ![]() Senior Member ![]() ![]() Joined: 12 February 2004 Status: Offline Points: 266 |
![]() ![]() ![]() ![]() ![]() |
You should use CXTCBarDialog, if working with the 4.1 or 4.0 Standard Edition. This works much better :-) |
|
![]() |
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 |