Type: Posts; User: siawos
Search took 0.01 seconds.
this was from a forum.....
am about to land on this airport !!
over and out
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...
April 16th, 2004, 03:05 AM
check this and the references in this article this will give you a more clear picture.
hope this helps
April 16th, 2004, 02:50 AM
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...
April 15th, 2004, 02:04 AM
in your DoDataExchange(CDataExchange* pDX)
there will be lines like this that determine the linking and subclassing behind the scenes.
DDX_Control(pDX, IDC_BUTTON1, m_Btn);
April 15th, 2004, 01:51 AM
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...
April 14th, 2004, 05:40 AM
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.
April 14th, 2004, 05:17 AM
its not impossible if its in another process there are ways for that.
April 8th, 2004, 02:05 AM
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.
At my time My requirements were...
April 6th, 2004, 08:22 AM
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...
April 6th, 2004, 07:24 AM
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...
April 6th, 2004, 07:12 AM
if u can launch the target application from ur process then u can easily get the top parent handle n then enumerate them.
am sure this works for VB but others i dont know exactly, that depends...
April 6th, 2004, 03:30 AM
you would have to devise a combination of things to determine that, no single property/value will do the job there.
possibilities cab be...
window class name (vulnerable)
April 6th, 2004, 02:42 AM
the static control on vb applications cannot be grabbed like this, i wonder how did u do that...
when u run any spying utility like handle pickers on a VB Application the static texts are not...
March 22nd, 2004, 04:18 AM
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...
March 19th, 2004, 01:18 AM
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...
March 19th, 2004, 12:19 AM
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...
March 18th, 2004, 07:44 AM
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...
March 18th, 2004, 06:24 AM
i was wondering can a control be rotated , for example a tree be displayed in a horizontal direction, or rotated to 45 or 90 degrees, etc.
or an edit box in vertical direction anything like...
March 18th, 2004, 06:00 AM
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...
March 18th, 2004, 04:28 AM
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
March 10th, 2004, 12:34 AM
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...
March 9th, 2004, 01:46 AM
how do i put a vertical scrollbar in a multicolum listbox?
February 18th, 2004, 12:30 AM
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.