Language
Any
Platform
Windows
Remove
License
Any
If you have anymore questions about listboxes and buttons ask me, I know how to color them and even make them into pictures.
Could start here:
http://allapi.mentalis.org/agnet/apiguide.shtml
Hello!
For example, i have a little function in dll:
void dll_func(){
char buf;
char* p = "qwerty";
strcpy(buf,p);
// or
GetLastError();
}
I call GetProcAddress("dll_func") and...
Use Win32 api (C or C++) (Shell)
I have a Handle to the Rich Edit Control of Wordpad application in my Keypad application. I want to directly access the Internal Data Structure for this Rich Edit Control without using Windows...
Thanks a lot for your help! I've removed the edit controls and it works perfectly - sorry to waste your time with such a silly mistake!
I've taken on all your other points and implemented them,...
ES_* is supposed to be for Edit controls, i.e. "EDIT" class and NOT "LISTBOX". Combining wrong values together result-in undesired behavior!
4) It looks like your listbox child window is covering...
Hi,
I'm having trouble displaying text to a listbox (I've included my code). I expected that when I press my left mouse button (on the MainWnd) the string "greeting" should display in the listbox....
subclass the control
HWND hParent;
WNDPROC wpEdit;
LRESULT CALLBACK EditProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) {
LRESULT lRes;
if(msg != WM_MOUSEMOVE) {...
How do I intercept WM_LBUTTONDOWN of edit control?
Many thanks.
I cant get trasparent window to work. I used the source code provided by microsoft here: http://msdn.microsoft.com/en-us/library/ms997507.aspx
But it doesnt work. I am wondering if it doesnt...
This question has been anwered with:
#include
//...
strcpy( Date, holder );
Value;
char *holder = (char*)vFieldDate;
Hi,
Knowing the path to an exe file I would like to extract all the informations listed in the sample picture attached to this post, from a simple command line app. How could I do this please ?
How can I withdraw the priority value in the window at me, he always brings to 32 for the process, and 0 for the flow of what went wrong?
TCHAR CommandLine = _T("notepad ReadMe.txt");
LRESULT...
So, you have some code written? Very well.
Can you post the code here?
Or if you wish, you can send me the code you wrote and I'll help.
I promise not to share the code.
Zip the code and send...
hi,
can you please give a clearer example? i can't still get it. i am new to OS. infact i have just started studying about the subject.
Questions:
1. What should we use to open file? Is it...
I inject a dll into a windows dialog. Then I want from the dll to find a control handle of a specific control in the dialog.
I've searched through winAPI on MSDN but i haven't found any useful way....
Need to display text Contour sinusoid. Using a rotation system kordinat function SetWorldTransform for her needs structure XFORM how to calculate the formula slope (angle), to substitute the...
That depends on how the algorithm works. I see a few ways to do it:
CASE A)
1. Open file and load ALL text into a buffer
2. Create threads for counting and pass buffer pointer to each thread...