0

hi
i have dialog based application...
i want to know when i minimize the dialog ...and right click the minimized dialog ...a menu (taskbar menue ) with "restor" and "close" and "about" options will appear..for me its not
how can i do that....
any kind of help will be appriciated
thanks
PS:
i use a BitmapDialog which to be applied, the dialog should have the style to "pop up" and the border to "none"..which disable the system menu..
so what should i do now???

2
Contributors
3
Replies
4
Views
9 Years
Discussion Span
Last Post by mitrmkar
0

If I understood the question correctly, then you need to add the following in your WM_INITDIALOG handler ... ModifyStyle(YOUR_DLG_HWND, 0, WS_SYSMENU|WS_MINIMIZEBOX, 0);

0

If I understood the question correctly, then you need to add the following in your WM_INITDIALOG handler ... ModifyStyle(YOUR_DLG_HWND, 0, WS_SYSMENU|WS_MINIMIZEBOX, 0);

thank u for ur reply ...
but what do u mean by "YOUR_DLG_HWND" ? and how can i get that ??
would u explain more ...?
thanks

0

YOUR_DLG_HWND means the window handle (HWND) of your dialog. If you are using MFC, the handle is m_hWnd member of the CDialog class.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.