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

Search:

Type: Posts; User: mecheil.edwar

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Re: How to arrange work Between WndProc & New Thread

    Thanks D_Drmmr for your reply..
    But the Problem if I let GDI paint the window , I will lose the the Painting object from OpeGL Device...

    So I need to stop painting from GDI on the child Window...
  2. Re: How to arrange work Between WndProc & New Thread

    Any Updates ..
  3. How to arrange work Between WndProc & New Thread

    Hi My Best Friends,

    I have very simple question :

    Given :
    - To Build a Window and add bottuns on this window , Say Window 1

    - From This Window ,Build Child Window Say Window 2

    Required :
  4. Re: How to add data by Using Function CreateFile(...)

    How Can I thank You Igor , for your effective efforts and your perfect code...
    Really I have to thank you very much.. for this valuable code..
    It is working very well.. Excellent...
    My Best...
  5. Re: How to add data by Using Function CreateFile(...)

    Thanks Victor ,
    But I do many Trials But I could not write file as per required format..
    Hoping I can get support..

    My Best Reagrds
  6. Re: How to add data by Using Function CreateFile(...)

    Thanks Victor for your reply,

    I wrote this code :
    //~~~~~~~~~~~~~~~~~~~~~~~
    WriteFile(hf,TEXT("3 \n"),a,&FileSize,NULL);
    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    But unlucky it is not working ( I...
  7. How to add data by Using Function CreateFile(...)

    I try to Create one text File By Using CreateFile(..) Function,

    I want to add data ( x,y,x) coordinate to file By This way :

    X Y Z
    1 3 8
    0 13 11

    But when I write...
  8. Re: OpenGL with C++ Application GLUT.DLL Problem

    Many Thanks Igor for your clarifications..
    and one more question , Can I combine DLL file with my Project .. because if I run the *.exe file the *.DLL file will be included with the *.exe file..

    ...
  9. Re: OpenGL with C++ Application GLUT.DLL Problem

    My Deep Respect for you Victor , every time you do your best to answer my questions...

    and Kindly I have one idea I want to discuss , Some saying copy the file *.DLL and keep it with working...
  10. OpenGL with C++ Application GLUT.DLL Problem

    I try to Build one Application by Using OpenGL...

    But every time I try to check the Application I got this message

    GLUT.DLL is missed..

    I checked the folder c/Windows/System32
    I found the...
  11. Re: How to Activate WM_CHAR Message with Edit Box (from DIALOG)

    Thanks Victor For your answers , After searching for this subject and as per Igor Answer also ,
    Modeles Dialog can not recieve WM_CHAR Message ,

    And I can suggest some ideas to manage CHAR ,
    ...
  12. Re: How to Activate WM_CHAR Message with Edit Box (from DIALOG)

    Thanks Igor for your perfect answer , But is there any tool to manage the Input Char ,

    I Understood that Dialog Box Manage only the the Keyboard interface for Few Keys Only as Example (Enter...
  13. Re: How to Activate WM_CHAR Message with Edit Box (from DIALOG)

    I hope Igor , Marc Gregoire and VictorN will provide us a solution for this subject..

    My Best Regards
  14. Re: [Question] How to get Data from Edit Class

    Thanks for VictorN , Igor and Marc for their answers ,

    I have other question , If I add Edit Class inside Dialog Class ,
    I found that WM_CHAR message is not working ,
    How I can get WM_CHAR...
  15. Re: How to Activate WM_CHAR Message with Edit Box (from DIALOG)

    I got solution for first problem
    To Set the no of Char in Edit Box Use this Function;
    SendDlgItemMessageA(hDlg,EDIT_BOX1,EM_LIMITTEXT,4,lParam);

    Here I Put No of Char of Edit_Box1 as Example...
  16. How to Activate WM_CHAR Message with Edit Box (from DIALOG)

    I try to build one application as following:

    The Main Window With Window Class = CLASS1 ; and With Window Proc =wnproc()

    Then I create a dialog (Child window) By Using Function :...
  17. How to Set the number of char that input in Edit Box

    I do one application ,
    I want to define the number of char that user input to Edit Box (Edit box inside Dialoge)
    as Example if I want to input in Edit Box 4 digit only say 1223 as example
    How can...
  18. Re: wsprintf() Function how to read Double Variable

    Thanks so much S_M_A and VictorN for valuable answers,

    and Here is code example :


    int p,z;
    double x; x = 23.4454 // as example

    CHAR AA[20];
    TCHAR sBuffer[80];
  19. wsprintf() Function how to read Double Variable

    I have one problem with wsprintf Function
    if I write this code :


    int I =500 ;int S ;
    WCHAR sBuffer[10];
    S= wsprintf(sBuffer,TEXT(" I value : %i "), I); // Here is the problem


    Now...
  20. Re: [Question] How to get Data from Edit Class

    Thanks to all for their effective replies,
    But still I have problem to get Real Number (as Example 23.334)
    If I can get any sample Example It will be better to clear using concpet

    My Best...
  21. [Question] How to get Data from Edit Class

    I Have two questions Regarding to Edit Class :

    Q1: If I want to input only integer Number to Edit Class. how can I Prevent user to input characters to Edit Class
    Q2 : How can I get data Input to...
  22. Re: [Quest] How to restore Objects of Window after WM_PAINT Message

    Thanks Igor for your proffesional answers ;
  23. Re: [Quest] How to restore Objects of Window after WM_PAINT Message

    Thanks oviducucu,
    And I hope to find solution ,
    My Question is : How to get the content of window (Lines and dots) and restore it again after sending WM_PAINT message
    I hope Igor will provide us...
  24. Replies
    6
    Views
    1,742

    Re: Graphics Programming

    you can start with
    Win API
    after Learning Win API you can Learn DirectX

    But Nowadays you can Learn C# WPF, and you can start with the great book
    Windows Application 6th Edition By Charles...
  25. [Quest] How to restore Objects of Window after WM_PAINT Message

    I want to know how to restore objects that appear on window I will expalin in one Example;

    Example (1)

    case WM_COMMAND:
    /////// Draw One Line
    hdc=GetDC(hWnd);
    MoveToEx(hd1,300,20,NULL);...
Results 1 to 25 of 57
Page 1 of 3 1 2 3



HTML5 Development Center

Click Here to Expand Forum to Full Width