Click here to Skip to main content
15,888,816 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: size of structure variable Pin
Cedric Moonen29-Aug-06 21:45
Cedric Moonen29-Aug-06 21:45 
GeneralRe: size of structure variable Pin
Vishvanathan29-Aug-06 22:26
Vishvanathan29-Aug-06 22:26 
QuestionHard Disk serial Number Pin
vijay_aroli29-Aug-06 21:04
vijay_aroli29-Aug-06 21:04 
AnswerRe: Hard Disk serial Number Pin
Hamid_RT29-Aug-06 21:55
Hamid_RT29-Aug-06 21:55 
QuestionRe: Hard Disk serial Number Pin
David Crow30-Aug-06 3:17
David Crow30-Aug-06 3:17 
QuestionShow Desktop Problem-Minimizes all the window Pin
payal33529-Aug-06 20:54
payal33529-Aug-06 20:54 
AnswerRe: Show Desktop Problem-Minimizes all the window Pin
Nibu babu thomas30-Aug-06 0:30
Nibu babu thomas30-Aug-06 0:30 
GeneralRe: Show Desktop Problem-Minimizes all the window Pin
payal33530-Aug-06 1:02
payal33530-Aug-06 1:02 
this does not work as it works only when we try to minimize our application from the task bar by click in on our application area on the task bar


the thing is that the Shell_TrayWnd program sends message to all the application to minimze
val
/*MinAll*/ 415,
/*MaxAll*/ 416,

accordingly
static HWND hShellWnd = ::FindWindow(_T("Shell_TrayWnd"), NULL);
if(hShellWnd != NULL)
::PostMessage(hShellWnd, WM_COMMAND, MAKELONG(415, 0), NULL);//for minimizing
::PostMessage(hShellWnd, WM_COMMAND, MAKELONG(416, 0), NULL);//for maximizing
This stuff will minimize all the window

payal
Developer
GeneralRe: Show Desktop Problem-Minimizes all the window Pin
Nibu babu thomas30-Aug-06 1:07
Nibu babu thomas30-Aug-06 1:07 
GeneralRe: Show Desktop Problem-Minimizes all the window Pin
payal33530-Aug-06 19:21
payal33530-Aug-06 19:21 
GeneralRe: Show Desktop Problem-Minimizes all the window Pin
Nibu babu thomas30-Aug-06 19:37
Nibu babu thomas30-Aug-06 19:37 
QuestionContext menu problem Pin
gajendrakashyap29-Aug-06 20:19
gajendrakashyap29-Aug-06 20:19 
AnswerRe: Context menu problem Pin
Hamid_RT29-Aug-06 21:52
Hamid_RT29-Aug-06 21:52 
GeneralRe: Context menu problem Pin
gajendrakashyap29-Aug-06 22:07
gajendrakashyap29-Aug-06 22:07 
GeneralRe: Context menu problem Pin
Hamid_RT29-Aug-06 22:38
Hamid_RT29-Aug-06 22:38 
GeneralRe: Context menu problem Pin
gajendrakashyap29-Aug-06 23:06
gajendrakashyap29-Aug-06 23:06 
GeneralRe: Context menu problem Pin
Hamid_RT30-Aug-06 2:36
Hamid_RT30-Aug-06 2:36 
GeneralRe: Context menu problem Pin
gajendrakashyap30-Aug-06 3:29
gajendrakashyap30-Aug-06 3:29 
GeneralRe: Context menu problem Pin
Hamid_RT30-Aug-06 4:46
Hamid_RT30-Aug-06 4:46 
GeneralRe: Context menu problem Pin
gajendrakashyap30-Aug-06 19:39
gajendrakashyap30-Aug-06 19:39 
GeneralRe: Context menu problem Pin
Hamid_RT30-Aug-06 22:24
Hamid_RT30-Aug-06 22:24 
GeneralRe: Context menu problem Pin
gajendrakashyap30-Aug-06 22:45
gajendrakashyap30-Aug-06 22:45 
GeneralRe: Context menu problem Pin
Hamid_RT31-Aug-06 1:24
Hamid_RT31-Aug-06 1:24 
GeneralRe: Context menu problem Pin
gajendrakashyap31-Aug-06 2:45
gajendrakashyap31-Aug-06 2:45 
QuestionProblem with running SQL ( Like N'%) in VC++ Pin
rasha200329-Aug-06 20:17
rasha200329-Aug-06 20:17 

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.