hi can we minimize a dialog based application and can anyone please tell me how do i minimize a dialog based application in to the task bar (near the clock)
hi can we minimize a dialog based application and can anyone please tell me how do i minimize a dialog based application in to the task bar (near the clock)
I'm not sure I understand.
If you want the aplication to show on the task bar you need a window. Register a windows class and create on for the application 1x1 in dimensions, hide this behind the dialog or hide from view (HideWindow(HWND,SW_SHOW or SW_HIDE)).
In the resource editor (in Dev Studio) select the whole dialog and under styles select 'minimise box'
or on creation you should specify WS_MINIMIZEBOX
as one of the flags.
Is this what you are asking or do you want to know about the system tray (the small area of the task bar near the clock)?
SendMessage(hWnd,WM_SYSCOMMAND,SC_MINIMIZE,0);it can minize dialogwindow to taskbar,but it's a long distance from timer.
..........a struct NOTIFYICONDATA is useful.
aha! she used "we"! Add one more to the score for Ken! *see post on older board* I told you they said "we"! But noooo, you didn't listen to me! *rants on like this for hours*
Check here for how we can do things to the task bar.
zen
thanx to all . but am still having probs am not able to define the UINT uCallbackMessage;
can anyone one if you please define it
say if i have a function myfunc(wparam,lparam) not how do i define it to work with it.
thanx once again
Do you mean this?
#define MYAPPMSG WM_USER+1001