Click here to Skip to main content
15,897,187 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I write plug-in for "Today" for WM.
In initialization of my plug-in I create modeless windows - inherited from CDialog

class CMainForm : public CDialog
..........
m_Form = new CMainForm();
m_Form->Create(CMainForm::IDD, Parent);
m_Form->ShowWindow(SW_HIDE);

Depending on certain events I show this window:
m_Form->ShowWindow(SW_SHOW);

Then user press OK/Cancel buttons I hide window:
this->ShowWindow(SW_HIDE);


All work, but after start of my plug-in standard Windows CommandBar hide and it's substituted with the CDialog panel.

How I can return standard Windows CommandBar?
Posted
Updated 10-Nov-10 8:01am
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900