Stack Overflow, it's not working, but I may know why. When you did it, did you already have a dialog box with a trackbar in it? Perhaps you can tell me exactly what you did. I think my problem is...
Type: Posts; User: The Letter J
Stack Overflow, it's not working, but I may know why. When you did it, did you already have a dialog box with a trackbar in it? Perhaps you can tell me exactly what you did. I think my problem is...
When I compile, it doesn't give me any errors, but it still doesn't affect the trackbar.
It's the example from the link I was given.
Ok, I have the function working and I declare it at the beginning of my code like this:
HWND WINAPI CreateTrackbar(HWND,UINT,UINT,UINT,UINT);
How do I execute the function and have it apply to...
Ok, I fixed that part, but I am now getting 2 completely new errors:
error LNK2001: unresolved external symbol __imp__InitCommonControls@0
fatal error LNK1120: 1 unresolved externals
I have no...
Ok, I did that and got the following error:
'CreateWindowExA' : cannot convert parameter 10 from 'const int' to 'struct HMENU__ *'
Conversion from integral type to pointer type requires...
Would it help to know that I used the dialog boxes in the resource creator in VC++ 6.0 as opposed to coding it in raw C++?
My program is a simple dll, so I used GetModuleHandle(NULL) and got the following error:
cannot convert parameter 10 from 'const int' to 'struct HMENU__ *'
Here is how I put it in:
...
Ok, I fixed the hwndTrack error, but I still can't figure out the instance. How would I find the HINSTANCE associated with my dialog window?
Ok, I tried putting the Win32 API function in my code and I get the following problems:
1. it says 'hwndTrack' is an undeclared identifier
2. I can't figure out what I'm supposed to put for the...
I have created a dialog box that has a checkbox and want to put a slider in it as well. I don't know how to get information from the slider I have put into the dialog box and I don't know how to set...
That made no sense to me, can anyone else help?
Umm...how would I do that? Heh, sorry, as I said, I'm pretty new to C++. I only know PHP, so I am basically thinking of a function like explode() in PHP. Is there a function like that in C++?
No, no, no. Let's say I have this string: "Joe+Dan+Tom"
I want to create an array with Joe Dan and Tom as the elements of it. I want to create an array from the string by separating the elements...
I'm kind of new to C++ and I want to turn a string into an array. I want to separate each element of the array by detecting the "+" signs in the string. I know there is a function that can do this,...