Click here to Skip to main content
15,915,160 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problems with accelerators and modeless dialogs! Pin
dabs5-Nov-02 3:07
dabs5-Nov-02 3:07 
GeneralRe: Problems with accelerators and modeless dialogs! Pin
Daniel Strigl5-Nov-02 3:17
Daniel Strigl5-Nov-02 3:17 
QuestionTransparent Bitmap? Pin
Jawache5-Nov-02 1:00
Jawache5-Nov-02 1:00 
AnswerRe: Transparent Bitmap? Pin
jhwurmbach5-Nov-02 1:42
jhwurmbach5-Nov-02 1:42 
GeneralMSChart Pin
Ruca5-Nov-02 1:02
Ruca5-Nov-02 1:02 
Generalproblem with context menu in mdi Pin
fargo2k5-Nov-02 0:35
fargo2k5-Nov-02 0:35 
GeneralRe: problem with context menu in mdi Pin
Ravi Bhavnani5-Nov-02 0:54
professionalRavi Bhavnani5-Nov-02 0:54 
GeneralRe: problem with context menu in mdi Pin
fargo2k5-Nov-02 1:35
fargo2k5-Nov-02 1:35 
thx for the tip, the menu count method fix the problem. But I've decide the use the GetWindowPlacement() function to get the state of the child window, which is more general I think


CMDIFrameWnd *pMainFrame = GetMDIFrame();

CMenu *pMenu = pMainFrame->GetMenu();

WINDOWPLACEMENT wp;
GetWindowPlacement(&wp);

if (wp.showCmd == SW_SHOWMAXIMIZED)
pMenu = pMenu->GetSubMenu(4);
else
pMenu = pMenu->GetSubMenu(3);

pMenu->TrackPopupMenu(TPM_LEFTALIGN + TPM_LEFTBUTTON, point.x, point.y, this, NULL);


Smile | :)
GeneralChange from decimal number to hex character Pin
ooosawaddee35-Nov-02 0:32
ooosawaddee35-Nov-02 0:32 
GeneralRe: Change from decimal number to hex character Pin
Anatari5-Nov-02 0:43
Anatari5-Nov-02 0:43 
GeneralRe: Change from decimal number to hex character Pin
Stephane Rodriguez.5-Nov-02 0:56
Stephane Rodriguez.5-Nov-02 0:56 
GeneralRe: Change from decimal number to hex character Pin
Gary R. Wheeler5-Nov-02 11:10
Gary R. Wheeler5-Nov-02 11:10 
GeneralRe: Change from decimal number to hex character Pin
Ravi Bhavnani5-Nov-02 0:57
professionalRavi Bhavnani5-Nov-02 0:57 
GeneralMIME types & application Pin
ov5-Nov-02 0:07
ov5-Nov-02 0:07 
GeneralRe: MIME types & application Pin
Stephane Rodriguez.5-Nov-02 0:21
Stephane Rodriguez.5-Nov-02 0:21 
GeneralRe: MIME types & application Pin
Anatari5-Nov-02 0:18
Anatari5-Nov-02 0:18 
GeneralRe: MIME types & application Pin
ov5-Nov-02 3:17
ov5-Nov-02 3:17 
GeneralSaving/Copying a file. Pin
a3gupta4-Nov-02 23:12
a3gupta4-Nov-02 23:12 
GeneralRe: Saving/Copying a file. Pin
jhwurmbach4-Nov-02 23:19
jhwurmbach4-Nov-02 23:19 
GeneralRe: Saving/Copying a file. Pin
a3gupta4-Nov-02 23:24
a3gupta4-Nov-02 23:24 
GeneralRe: Saving/Copying a file. Pin
jhwurmbach4-Nov-02 23:35
jhwurmbach4-Nov-02 23:35 
GeneralRe: Saving/Copying a file. Pin
Joan M4-Nov-02 23:23
professionalJoan M4-Nov-02 23:23 
GeneralRe: Saving/Copying a file. Pin
a3gupta4-Nov-02 23:26
a3gupta4-Nov-02 23:26 
GeneralRe: Saving/Copying a file. Pin
Joan M4-Nov-02 23:37
professionalJoan M4-Nov-02 23:37 
GeneralRe: Saving/Copying a file. Pin
Anonymous6-Nov-02 0:58
Anonymous6-Nov-02 0:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.