Click here to Skip to main content
15,908,673 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionwhat is ENSURE_THROW? [modified] Pin
DreamMengJian5-Oct-07 6:25
DreamMengJian5-Oct-07 6:25 
QuestionShowWindow Command Problems Pin
Beaon5-Oct-07 6:02
Beaon5-Oct-07 6:02 
Howdy guys, just a quick question about a small problem I am having in a little chat application I made for the sake of learning.

Currently I want my app to minimize to my tray displaying its icon. I want the window to be hidden completly, I dont want it to appear minimized in the taskbar. If the user wants to open the app he can double click the icon in the tray. I got the animation working, my icon loads in the try, however I cannot hide the window. It minimizes to the task bar below making it appear "miniized". It should be hidden no?

Currently I am using this command I assumed it would hide everything. Any obvious thoughts come to mind on what I might be doing wrong?
ShowWindow(m_hWnd, SW_HIDE);

If you want I can display more code just let me know!

Thanks Alot!

Cliff
AnswerRe: ShowWindow Command Problems Pin
IMNOOPR5-Oct-07 6:22
IMNOOPR5-Oct-07 6:22 
GeneralRe: ShowWindow Command Problems Pin
Beaon5-Oct-07 7:14
Beaon5-Oct-07 7:14 
QuestionRe: ShowWindow Command Problems Pin
Mark Salsbery5-Oct-07 7:48
Mark Salsbery5-Oct-07 7:48 
AnswerRe: ShowWindow Command Problems Pin
Beaon5-Oct-07 8:06
Beaon5-Oct-07 8:06 
GeneralRe: ShowWindow Command Problems Pin
Mark Salsbery5-Oct-07 8:11
Mark Salsbery5-Oct-07 8:11 
GeneralRe: ShowWindow Command Problems Pin
Beaon5-Oct-07 8:31
Beaon5-Oct-07 8:31 
GeneralRe: ShowWindow Command Problems Pin
Mark Salsbery5-Oct-07 9:50
Mark Salsbery5-Oct-07 9:50 
GeneralRe: ShowWindow Command Problems Pin
Beaon5-Oct-07 10:57
Beaon5-Oct-07 10:57 
GeneralRe: ShowWindow Command Problems Pin
David Crow6-Oct-07 3:35
David Crow6-Oct-07 3:35 
GeneralRe: ShowWindow Command Problems Pin
Beaon7-Oct-07 8:36
Beaon7-Oct-07 8:36 
AnswerRe: ShowWindow Command Problems [modified] Pin
Beaon8-Oct-07 3:31
Beaon8-Oct-07 3:31 
AnswerRe: ShowWindow Command Problems Pin
David Crow5-Oct-07 8:02
David Crow5-Oct-07 8:02 
GeneralRe: ShowWindow Command Problems Pin
Beaon5-Oct-07 8:20
Beaon5-Oct-07 8:20 
QuestionAnti-Grain question Pin
Richard Blythe5-Oct-07 4:29
Richard Blythe5-Oct-07 4:29 
AnswerRe: Anti-Grain question Pin
Maximilien5-Oct-07 5:35
Maximilien5-Oct-07 5:35 
QuestionProblems with CreateDesktop Pin
GauranG Shah5-Oct-07 4:17
GauranG Shah5-Oct-07 4:17 
QuestionVC8 and stingray DLL issue Pin
OmniX5-Oct-07 3:42
OmniX5-Oct-07 3:42 
QuestionSomething about CxImage class Pin
Jane1315-Oct-07 2:52
Jane1315-Oct-07 2:52 
QuestionRe: Something about CxImage class Pin
Hamid_RT5-Oct-07 3:01
Hamid_RT5-Oct-07 3:01 
AnswerRe: Something about CxImage class Pin
Jane1316-Oct-07 1:39
Jane1316-Oct-07 1:39 
GeneralRe: Something about CxImage class Pin
Hamid_RT6-Oct-07 19:24
Hamid_RT6-Oct-07 19:24 
GeneralRe: Something about CxImage class Pin
Jane13119-Oct-07 16:05
Jane13119-Oct-07 16:05 
GeneralRe: Something about CxImage class Pin
Hamid_RT21-Oct-07 19:38
Hamid_RT21-Oct-07 19:38 

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.