ownedbytheman
Programmer
Fairly new C/C++ programmer here. Probably a simple question.
I am writing a C style, regular dll. I will describe what it is for but it will sound like I am trying to write a worm, and I'm not.
I have a legacy application (SalesLogix 5.2) that allows very limited drag&drop functionality. I am writing a dll that will load into it's process via dll injection and I will use it to host the callback procs etc that I need to setup (hopefully) OLE D&D. How I get the addresses of the procs into the application to reference is my next hurdle but one thing at a time.
What I am having problems with right now is enumerating windows (or controls etc) on a form and getting identifying properties of the controls on the page. Bascially, I need to be able to specifically pick controls to "turn on" Drag and Drop but I can't seem to get anything meaningful from GetClassInfoEx to help me identify specific controls.
In VB, when I create a control, it has a name. Is there a function that will allow me to query these kinds of properties of controls?
I am writing a C style, regular dll. I will describe what it is for but it will sound like I am trying to write a worm, and I'm not.
I have a legacy application (SalesLogix 5.2) that allows very limited drag&drop functionality. I am writing a dll that will load into it's process via dll injection and I will use it to host the callback procs etc that I need to setup (hopefully) OLE D&D. How I get the addresses of the procs into the application to reference is my next hurdle but one thing at a time.
What I am having problems with right now is enumerating windows (or controls etc) on a form and getting identifying properties of the controls on the page. Bascially, I need to be able to specifically pick controls to "turn on" Drag and Drop but I can't seem to get anything meaningful from GetClassInfoEx to help me identify specific controls.
In VB, when I create a control, it has a name. Is there a function that will allow me to query these kinds of properties of controls?