![]() |
Menu and dialogs |
Post Reply ![]() |
Author | |
irekz ![]() Newbie ![]() Joined: 15 June 2007 Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() Posted: 16 June 2007 at 2:25pm |
Hi.
Most of my applications are CDialog and CPropertySheet based. I find it difficult to integrate those with Xtreme toolkit. Question no1: what's the bare minimum to add a menu to CDialog based application? Can you put it into a small list? I was looking at DialogSample and still can't figure out if I need to copy and paste to my app most of this code (like RepositionControls function). Question no2: I understand that to taqke advantage of toolkit features I need to change base class for my dialogs (like CDialog to CXTPDialogBase<CXTResizeDialog>) - what about CPropertySheet based dialogs? Thanks for your time and help! Irek ps. toolkit looks great but I guess you miss some sales on ground that there is not enough tutorials. Sample applications are helpful but there is not enough comments in code so it's hard to guess what's essential and what's not. |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
if Your dialog not support resizing, you only need override class from CXTPDialog and
call in OnInitialUpdate handler.
RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST, 0);
in CPropertySheet you also need RepositionBars call , but have manually move all pages.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
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 |