Click here to Skip to main content
16,016,580 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralPrinting multiple Views in MFC Pin
suzie10021-Aug-05 8:40
suzie10021-Aug-05 8:40 
GeneralRe: Printing multiple Views in MFC Pin
Jano Petras21-Aug-05 14:46
Jano Petras21-Aug-05 14:46 
Generalgetting text of selected item in listview Pin
/*Trucker*\21-Aug-05 8:04
/*Trucker*\21-Aug-05 8:04 
GeneralRe: getting text of selected item in listview Pin
Jose Lamas Rios21-Aug-05 11:08
Jose Lamas Rios21-Aug-05 11:08 
GeneralRe: getting text of selected item in listview Pin
/*Trucker*\21-Aug-05 11:16
/*Trucker*\21-Aug-05 11:16 
GeneralRe: getting text of selected item in listview Pin
Jose Lamas Rios21-Aug-05 17:35
Jose Lamas Rios21-Aug-05 17:35 
GeneralRe: getting text of selected item in listview Pin
Jordan C. Atlas5-Apr-06 11:37
Jordan C. Atlas5-Apr-06 11:37 
GeneralTaskbar Button don't have the correct status Pin
mamtz21-Aug-05 7:10
mamtz21-Aug-05 7:10 
Hi My program suppose to be sometimes hidden. when the user wants to show it, its button in the taskbar does not have the correct status. that means that if the program was first maximized (before hiding it) it is being shown maximized too but the minimize button (on the window corner) does not work and right click on its taskbar button shows only the maximize button.

Here is the code when hiding the window:
<br />
//saving the window placement<br />
::GetWindowPlacement(hWnd,&sWndPlt);<br />
::ShowWindow(hWnd,SW_HIDE);<br />

And here is the code when Showing the window:
<br />
::SetWindowPlacement(hWnd,&sWndPlt);<br />
::ShowWindow(hWnd,SW_SHOW);<br />
::UpdateWindow(hWnd);<br />
::SetForegroundWindow(hWnd);<br />
::SetActiveWindow(hWnd);<br />


Is there a way to solve this problem?

Thanks a lot
mamtz
GeneralRe: Taskbar Button don't have the correct status Pin
/*Trucker*\21-Aug-05 9:43
/*Trucker*\21-Aug-05 9:43 
GeneralRe: Taskbar Button don't have the correct status Pin
mamtz22-Aug-05 7:45
mamtz22-Aug-05 7:45 
Questionhow to hide taskbar Pin
gr8coaster32921-Aug-05 6:35
gr8coaster32921-Aug-05 6:35 
AnswerRe: how to hide taskbar Pin
Graham Bradshaw21-Aug-05 6:45
Graham Bradshaw21-Aug-05 6:45 
GeneralRe: how to hide taskbar Pin
gr8coaster32921-Aug-05 6:52
gr8coaster32921-Aug-05 6:52 
GeneralRe: how to hide taskbar Pin
Graham Bradshaw21-Aug-05 6:54
Graham Bradshaw21-Aug-05 6:54 
GeneralRe: how to hide taskbar Pin
gr8coaster32921-Aug-05 6:57
gr8coaster32921-Aug-05 6:57 
AnswerRe: how to hide taskbar Pin
mamtz21-Aug-05 6:48
mamtz21-Aug-05 6:48 
Generalseeking gurus: get other app content Pin
Anonymous21-Aug-05 1:12
Anonymous21-Aug-05 1:12 
QuestionI want a file DLL write by VC++ used in VisualBasic ? Pin
Thangnc21-Aug-05 1:08
Thangnc21-Aug-05 1:08 
AnswerRe: I want a file DLL write by VC++ used in VisualBasic ? Pin
/*Trucker*\21-Aug-05 10:56
/*Trucker*\21-Aug-05 10:56 
GeneralSwap File Pin
Member 221145621-Aug-05 1:00
Member 221145621-Aug-05 1:00 
GeneralLinklist vs Array Pin
Anonymous21-Aug-05 0:07
Anonymous21-Aug-05 0:07 
GeneralRe: Linklist vs Array Pin
Anonymous21-Aug-05 2:36
Anonymous21-Aug-05 2:36 
GeneralRe: Linklist vs Array Pin
Chris Losinger21-Aug-05 6:34
professionalChris Losinger21-Aug-05 6:34 
GeneralRe: Linklist vs Array Pin
ThatsAlok21-Aug-05 19:07
ThatsAlok21-Aug-05 19:07 
GeneralRe: Linklist vs Array Pin
Blake Miller22-Aug-05 6:12
Blake Miller22-Aug-05 6:12 

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.