Never mind. . . probelm solved. Stupid error.
Type: Posts; User: bc17
Never mind. . . probelm solved. Stupid error.
Hi. I am trying to underline a certain word in a rich edit control, located in a Dialog Box. I understand that I should select the word by sending the EM_SETSEL message, and then format it with the...
Thx for the reply. I managed to get my prog working using the source code as a guide.
Thx,
~bc17
I Was wondering if someone could point me in the right direction:
I am looking for a common dialog box that allows the user to browse and select the directory that the user desires. I am...
Thanks for your help Ken. That did the trick.
Im trying to create a tool bar for a text editor using CreateWindowEX().
The tool bar will show up fine, but then when you click on the button nothing will happen. Also, when you start typing in the...
Yes, but how do I tell if the scroll bar is needed or not. I need a way to tell if the text fits it the edit window or not. I thought about doing this by getting the length of the lines and seeing if...
I have an edit box that was created with CreateWindow() and is a child to another window. The styles that I used were:
WS_CHILD | WS_VISIBLE | ES_AUTOHSCROLL |ES_AUTOVSCROLL | ES_LEFT |...
Thx a lot for this example. I got it to work now.
I have an edit box that is a child to a simple window. I created it with CreateWindow(). I want to be notified when something is typed into the edit box. I tried using WM_CHAR and WM_KEYDOWN in my...
I never said that it doesn't work or that he shouldn't use it. Just letting him know.
getch(); is not a standard function.
If there is something in the input stream when you use cin.get();(like an enter from a cin) you have to put two consecutive cin.get();'s. Works for me anyways.
Include dos.h.
There if a function called delay();
delay(numberofmilliseconds);
Also found in that file is a function called sleep();
sleep(numberofmilliseconds);
Thankyou.
The windows.h file was not originally included in my compilier.(Borland Turbo C++ Ver 3.0)
So I couldn't search its help file. I have to use it with Dev.
Thank you.
Does the NULL make the folder empty?
And what else can you put there?
What is an iso?
Win xp pro.
dope!!
Yea they got it. You gotta clear the buffer. I geuss their way would work. You can also getline the leftover'\n' into a dummy variable.
Does anyone know how to create a folder?
There is a function called exp();. This is found in math.h. The syntax is
exp(number,power);
I know this isn't a for loop, but it is a differrent method.
Personally i dislike using string variables and use charracter arrays instead
To see what an array is visit the tutorial(this will help the understanding of using the array).
. But for this...
I took out the ios::out and the ios::in, then changed the file and folder names to be 8 characters or under(im using Borland Turbo C++ ver 3.0, a dos based compiler). That solved the problem
...
It's there, and if it wasn't then shouldn't it be created anyways?
I think it is found in stdlib.h. Well its the one with the random command in it.
Anyways, if you output a random number without using the randomize command in a program and run it twice, the...
did you try randomize(); ?
it makes random stuff a lot better.