Search:

Type: Posts; User: bc17

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    3,440

    Never mind. . . probelm solved. Stupid error.

    Never mind. . . probelm solved. Stupid error.
  2. Replies
    1
    Views
    3,440

    CHARFORMAT and EM_SETCHARFORMAT

    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...
  3. Replies
    4
    Views
    1,234

    Thx

    Thx for the reply. I managed to get my prog working using the source code as a guide.

    Thx,
    ~bc17
  4. Replies
    4
    Views
    1,234

    API::Browse Dialog Box

    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...
  5. Replies
    3
    Views
    5,697

    Thankyou

    Thanks for your help Ken. That did the trick.
  6. Replies
    3
    Views
    5,697

    Creating a toolbar using CreateWindowEX()

    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...
  7. Thread: Scroll Bars

    by bc17
    Replies
    2
    Views
    1,579

    Yes, but how do I tell if the scroll bar is...

    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...
  8. Thread: Scroll Bars

    by bc17
    Replies
    2
    Views
    1,579

    Scroll Bars

    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 |...
  9. Thread: Edit Boxes

    by bc17
    Replies
    6
    Views
    2,280

    Thx a lot for this example. I got it to work now.

    Thx a lot for this example. I got it to work now.
  10. Thread: Edit Boxes

    by bc17
    Replies
    6
    Views
    2,280

    Edit Boxes

    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...
  11. Replies
    10
    Views
    1,100

    I never said that it doesn't work or that he...

    I never said that it doesn't work or that he shouldn't use it. Just letting him know.
  12. Replies
    10
    Views
    1,100

    getch(); is not a standard function.

    getch(); is not a standard function.
  13. Replies
    10
    Views
    1,100

    If there is something in the input stream when...

    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.
  14. Thread: few questions..

    by bc17
    Replies
    10
    Views
    1,333

    Include dos.h. There if a function called...

    Include dos.h.

    There if a function called delay();

    delay(numberofmilliseconds);

    Also found in that file is a function called sleep();

    sleep(numberofmilliseconds);
  15. Thread: Creating a folder

    by bc17
    Replies
    7
    Views
    1,903

    Thankyou. The windows.h file was not...

    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.
  16. Thread: Creating a folder

    by bc17
    Replies
    7
    Views
    1,903

    Thank you. Does the NULL make the folder...

    Thank you.

    Does the NULL make the folder empty?

    And what else can you put there?
  17. Thread: Creating a folder

    by bc17
    Replies
    7
    Views
    1,903

    What is an iso? Win xp pro.

    What is an iso?

    Win xp pro.
  18. Replies
    12
    Views
    1,469

    dope!! Yea they got it. You gotta clear the...

    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.
  19. Thread: Creating a folder

    by bc17
    Replies
    7
    Views
    1,903

    Creating a folder

    Does anyone know how to create a folder?
  20. Thread: power

    by bc17
    Replies
    2
    Views
    1,371

    There is a function called exp();. This is found...

    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.
  21. Replies
    12
    Views
    1,469

    Personally i dislike using string variables and...

    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...
  22. Replies
    10
    Views
    2,567

    I took out the ios::out and the ios::in, then...

    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


    ...
  23. Replies
    10
    Views
    2,567

    It's there, and if it wasn't then shouldn't it be...

    It's there, and if it wasn't then shouldn't it be created anyways?
  24. Replies
    8
    Views
    1,540

    I think it is found in stdlib.h. Well its the one...

    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...
  25. Replies
    8
    Views
    1,540

    did you try randomize(); ? it makes random stuff...

    did you try randomize(); ?
    it makes random stuff a lot better.
Results 1 to 25 of 30
Page 1 of 2 1 2