Click here to Skip to main content
15,911,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: hide Shell_NotifyIcon from other program Pin
David Crow10-Feb-04 9:48
David Crow10-Feb-04 9:48 
GeneralRe: hide Shell_NotifyIcon from other program Pin
_hunter10-Feb-04 9:52
_hunter10-Feb-04 9:52 
GeneralCodePage! Pin
George Clarence10-Feb-04 3:33
George Clarence10-Feb-04 3:33 
GeneralRe: CodePage! Pin
David Crow10-Feb-04 4:30
David Crow10-Feb-04 4:30 
GeneralRe: CodePage! Pin
George Clarence10-Feb-04 21:12
George Clarence10-Feb-04 21:12 
GeneralRe: CodePage! Pin
David Crow11-Feb-04 2:43
David Crow11-Feb-04 2:43 
GeneralRe: CodePage! Pin
George Clarence10-Feb-04 21:23
George Clarence10-Feb-04 21:23 
GeneralRe: CodePage! Pin
David Crow11-Feb-04 2:40
David Crow11-Feb-04 2:40 
GeneralOwner drawn edit control Pin
thorek10-Feb-04 2:17
thorek10-Feb-04 2:17 
GeneralForcing redrawing of property pages... Pin
Bob The Builder (BtB)10-Feb-04 2:12
Bob The Builder (BtB)10-Feb-04 2:12 
Generalproblem with ShellExecute and environment variables Pin
feline_dracoform10-Feb-04 0:20
feline_dracoform10-Feb-04 0:20 
GeneralRe: problem with ShellExecute and environment variables Pin
Luuk Weltevreden10-Feb-04 0:39
Luuk Weltevreden10-Feb-04 0:39 
GeneralRe: problem with ShellExecute and environment variables Pin
feline_dracoform10-Feb-04 0:50
feline_dracoform10-Feb-04 0:50 
GeneralRe: problem with ShellExecute and environment variables Pin
Luuk Weltevreden10-Feb-04 1:23
Luuk Weltevreden10-Feb-04 1:23 
GeneralRe: problem with ShellExecute and environment variables Pin
feline_dracoform11-Feb-04 0:51
feline_dracoform11-Feb-04 0:51 
GeneralRe: problem with ShellExecute and environment variables Pin
Luuk Weltevreden11-Feb-04 6:14
Luuk Weltevreden11-Feb-04 6:14 
QuestionWindows listbox has a resource error? Pin
Luuk Weltevreden10-Feb-04 0:11
Luuk Weltevreden10-Feb-04 0:11 
AnswerRe: Windows listbox has a resource error? Pin
Anonymous10-Feb-04 8:13
Anonymous10-Feb-04 8:13 
GeneralRe: Windows listbox has a resource error? Pin
Luuk Weltevreden10-Feb-04 8:35
Luuk Weltevreden10-Feb-04 8:35 
GeneralMFC drawing confusion Pin
Madhur Baheti9-Feb-04 23:40
Madhur Baheti9-Feb-04 23:40 
GeneralRe: MFC drawing confusion Pin
CodeBrain10-Feb-04 0:44
CodeBrain10-Feb-04 0:44 
GeneralRe: MFC drawing confusion Pin
Mike Dimmick10-Feb-04 1:01
Mike Dimmick10-Feb-04 1:01 
GeneralRegarding Screen changes Pin
santosh k9-Feb-04 23:17
santosh k9-Feb-04 23:17 
GeneralRe: Regarding Screen changes Pin
Luuk Weltevreden10-Feb-04 0:34
Luuk Weltevreden10-Feb-04 0:34 
If you wish to capture the screen when even a single pixel has changed you'll have an impossible time finding an event which triggers that. Suppose you have a movie running on the screen. The screen changed but probably not a single message is called. In this case your best bet would be to keep capturing the screen on a certain interval and comparing the bitmaps in memory. This would be really slowing down your system though. If you don't mind much about movies and the like and wish to recapture only when a window for instance resizes or gets created you could make a global windows hook. A CBT hook would be quite good for this purpose I guess.

From the MSDN:
The system calls this function before activating, creating, destroying, minimizing, maximizing, moving, or sizing a window; before completing a system command; before removing a mouse or keyboard event from the system message queue; before setting the keyboard focus; or before synchronizing with the system message queue.
GeneralRe: Regarding Screen changes Pin
Luuk Weltevreden10-Feb-04 3:52
Luuk Weltevreden10-Feb-04 3:52 

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.