Nope, didn't work. :( Any other ideas? I'm getting desparate now.
Type: Posts; User: Garfield
Nope, didn't work. :( Any other ideas? I'm getting desparate now.
Any ideas? Do you need to see more code? Please help. :(
My application uses a TreeView control and I'm having trouble showing an item. The program compiles perfectly fine, but when I run it, there isn't the item in the TreeView like I thought I...
Okay, I'll download the full version. But what do I do to install it? It will automatically overwrite the current one? I should backup my app files before I do that too.
Well, I searched the .h file and there is no TVINSERTSTRUCT. What now?
Yes, I included commctrl.h. But whats that _WIN32_IE about? What is it, and what is the value supposed to be? I'll search commctrl.h, but what if it doesn't have the necessary constants? What am...
In my program, I am using a Tree View control, but I'm having trouble getting it going. You see, it doesn't recognize the constants like TVINSERTSTRUCT and other parts of the Tree View.
And since...
This worked perfectly! Thanks!!
And that will stop the process of the application as well as destroy the window(s)?
And, using that PostMessage function in the dialog procedure, that means I'm going to have to get the handle to...
Okay, I have a main window that is created on startup. Then with the press of a button, it goes into a dialog box to do everything, etc. But, I want to have an option in the menu of the dialog box...
In my program, I am using a Tree View control. Well, I thought I did everything that is needed to just show the Tree View (I have not coded to actually add elements yet, but I just want to see that...
Yeah, after I posted this I did track it down to the registration of the class. I think I have it working now.
Okay, I really slimmed it down to a couple of functions (calling, creating, handling) where the problem probably is. Here is the source file. So, what is wrong?
Here you go:
Okay, here is the problem. My program is designed to start up, as any usual program does. It has the initial window (created as usual). But instead of going to a dialog from there, I decided to...
But how would I first check if the file already exists?
Okay, here is what I have to do. Work with files. But the thing is, should I use API functions or just standard c functions for this?
And also, a question about it (which ever way I decide to...
Yes, I am subclassing. Is this why my other edit is acting strangely?
But this would only make the text ONE color. I want to be able to use different colors in the same static.
And how come a text box doesn't handle the "\t" char?
Also, my other text box (has...
I'll change it to an EDIT with READONLY. Hopefully somebody can chime in on the color changing for this then... :D
Okay, I have a multi-line static control. But when I put in more text than viewable on screen, the scroll bar is still ineffective. What do I have to do to get the scroll bar on the static working?...
But if I have this ES_WANTRETURN, how would that work? How will I know when ENTER is hit?
I have a static control, and when the user does something, I want to ADD text to it. I don't think I can use the set text function, because I do want to keep the text that is already there. I just...
Okay, I have a single line edit. And when the user types something, for example "bunny rabbit" and then they hit ENTER to enter it, how would I be able to capture this ENTER from the edit box to...
But how do I handle this message? What about it?
How would I do this? I created it normally, with CreateWindow, but how do I change the background of the EDIT to black and the text of the EDIT to white?
Thanks! :D