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???

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);

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

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.