CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: wongjieyi

Search: Search took 0.02 seconds.

  1. Re: Simulate a Tab key when I press the Enter Key

    Can anyone quote me an example?
  2. Re: Simulate a Tab key when I press the Enter Key

    ES_WANTRETURN don't seems to work. Mine is a single line edit box.
  3. Simulate a Tab key when I press the Enter Key

    How I can use simulate a tab key when i hit the Enter Key?

    I have two text field for the user to key in data. After the user finish keying in the data in the first text field, he will press the...
  4. Replies
    6
    Views
    1,478

    Re: Titlebar unable to redraw

    So how would a sample of


    Case: WM_NCPAINT

    looks like?


    What should I include in there so that my title bar can be refresh all the time time?
  5. Replies
    6
    Views
    1,478

    Re: Titlebar unable to redraw

    i thought when i write (HWND)IDC_Title, it will direct it to the handle of IDC_Title?

    IDC_Title is a editbox. So how can I get the handle of it?
  6. Replies
    6
    Views
    1,478

    Re: Titlebar unable to redraw

    So what should I do??

    I included that two commands 'cos I want to set the font and background colour of a static box.

    Have I done it wrongly?
  7. Replies
    6
    Views
    1,478

    Titlebar unable to redraw

    My title bar place seems not to be repainted and I can see data from the underlying previous application that was being used.

    I have use updatewindow, but it still unable to repaint itself.


    ...
  8. Thread: New dialog

    by wongjieyi
    Replies
    1
    Views
    644

    New dialog

    Hi,

    I use the following code to open a new dialog box.



    DialogBox(hInst, (LPCTSTR) IDD_PressSpaceBar, hWndParent, (DLGPROC) PressSpaceBar);


    But according MSDN, DialogBox will
  9. Replies
    4
    Views
    794

    Re: Open a new dialog

    Hi,

    I am refering to a dialog which I have created by myself. The file name is Login.cs.

    Basically what I want is that when I click on the button, it will pop up a dialog where I can key in a...
  10. Replies
    4
    Views
    794

    Open a new dialog

    Hi,

    I'm new to C#. Hopefully someone can help me out with this simple problem.

    In my C++ coding, I use the below command open up a new dialog box.


    if(LOWORD(wParam) == IDC_Setting) ...
  11. Re: Problem with loading a bitmap onto a button

    Nope..

    May I know how should I go about doing it??
  12. Re: Problem with loading a bitmap onto a button

    Yes, i have tried my own coding as show above.

    It can perform the action of setting the bitmap onto the button for the 1st try.

    But after I try to press it for the second time onwards, it...
  13. Re: Problem with loading a bitmap onto a button

    HI,

    I have to apologies that I'm new to C++.

    From MSDN, i see that CButton is a MFC Command. But presently, i'm writting in "Platform SDK". How can i incorporate that commands into my...
  14. Problem with loading a bitmap onto a button

    Hi all

    I want to load a bitmap on to IDC_UUT1Status everytime I click on IDSTART. The problem is it is able to load for the first time I click on it. But after that, when ever I click on...
  15. Re: Default font size for all controls in dialog

    Hi

    What if I'm not using MFC??

    I'm using C++ to write my GUI.

    Thanks
  16. Re: Urgent:help please: Extract a string from line

    What if i'm using VC, and not MFC. I can't use the CString commmand.
  17. Replies
    2
    Views
    631

    Re: Seaching and saving it to a textfile

    Hi,

    The same case happen when i use 'OPEN_EXISTING' . It still overwrite my current file.

    May I know how should I go about adding a new line into the exisiting textfile.

    Thanks
  18. Replies
    2
    Views
    631

    Seaching and saving it to a textfile

    Hi,

    How can I seach through the whole of 'chBuf' and search for particular string of text, 'Hello World'? After that, it will print out "Search Found" into a in text file in "C:\data\" . The...
  19. Replies
    0
    Views
    440

    Problem with fprintf

    Hi

    Below is my code.

    These are my question.
    1) Why is it unable to output to the file C:\\12345.txt when the program ends? When I remove the command, execl( prog, prog, "_execl", "two", NULL...
  20. Replies
    2
    Views
    742

    Problem with CreateProcess

    Hi,

    I am writting a GUI with two buttons, Start and End.

    Basically, when I clicked on the Start Button, it will launch a *.exe file in DOS mode. The follow is the code which I used, ...
Results 1 to 20 of 20





Click Here to Expand Forum to Full Width

Featured