you can also subclass it..... but that wud be like sending forces to Iraq, a **** to manage....
like y do it the other way when there are simple and easy ways for that..
this is given as an option...
when u get the mouse over a control, grab its handle by WindowFromPoint()
take its rect by using GetWindowRect()
draw a rectangle in that area with any color for a while, remove the rect, and...
using sendmessage across process can cause blocking, for that u can either use PostMessage() or sendmessageTimeOut(), they dont cause blocking, and of these two SendMessageTimeOut() is a better...
yes with these calls or the calls behind these calls, i mean the messages that are sent behind these calls.
the only thing u need to cater are the process boundries for which there are several ways.
i saw Mercury's WinRunner 5 not recognising that text either, its explicitely written in winrunner manuals that the text on VB applications cannot be recognised.
u can also use sendmessage() or sendmessageTimeOut() but still i cant imagine how a handle can be lost within the application when posted, is this the pool of posted messages that has a leak...
check TN001 in MSDN for what i mean here, and your point is also a valid one.
note the class name of a simple MDI or SDI generated by MFC wizard in two different instances u'll see the difference...
The question is rather unclear here, from things it seems that you donot have a pointer to your dialog instance.... is it so??
if yes ...
I doubt the use of GetDlgItem for finding something in a...
the decision is all yours, it depends on your strategy and design.
to say "we should not" is a heavy statement cos its there to use. again i wud say the decision is on you that how do u want your...
using WM_APP range is a bit safer, but it may happen that someother application might also be sending messages of the same ID as yours,
who knows u are using WM_APP+100
someone else is using the...
WM_USER is obsolete now, either use WM_APP as the limit or use RegisterWindowMessage() in MSDN for a safe processing of ur msg in the wndProc(), or use that GUID appproach if you want "only your...
Once i had a chance to look into an application that had a grid control in it, it appeared a spin control in its grids whenever a mouseclick was posted at that particular row coloumn, the user would...
which sdk are you talking about, are you developing your own SDK and want to include this message???
if so then anywhere where this message is used
just #define MYMSG WM_APP+ 1000
i repharse my post here...
the idea is to show the color boxes as they show in the standard color dialog, but the need here is of a control that cud include vertical scrolling as well. the control...