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

Search:

Type: Posts; User: Pavel_47

Search: Search took 0.18 seconds.

  1. Re: Create window form C++ function using MFC or Win32 API

    Thanks Ovidiu,

    I programmed in C++ about 15 years ago, so some basic things are forgotten.
    Finally I've found workaround. Here is code that works (in sense simple window is displayed).
    Thanks to...
  2. Re: Create window form C++ function using MFC or Win32 API

    Hello Paul. Thank you for response. If you show me just one, that correspond to my case I will be very grateful. FYI my case is:

    creation of a GUI inside of a DLL
    DLL is called by a particular...
  3. Re: Create window form C++ function using MFC or Win32 API

    I've just tried to do the same using MFC, as creating/processing all of controls with Win32 is complicated. Here is a code that doesn't work. Doesn't work means - nothing happens - non window...
  4. Re: Create window form C++ function using MFC or Win32 API

    I think that my function doesn't need GetMessage - the parent CAD window does this job: I could move the window around the screen with GetMessage commented, which proves my guess. Isn't it ?
  5. Re: Create window form C++ function using MFC or Win32 API

    Thanks Igor,

    I followed your proposition and finally get my window !

    Here is code:

    PLI_INT32 vpi_CreateWindow(PLI_BYTE8 *user_data)
    {
    WNDCLASSEX WindowClass; // Structure to hold our...
  6. Re: Create window form C++ function using MFC or Win32 API

    Ok, will keep in mind
  7. Re: Create window form C++ function using MFC or Win32 API

    Ok, you are right. Thanks Ovidiu.
    Here is a bit of code, that doesn't work:

    Here is CAD console output (vpi_printf):
    30811
    So, as you can constate, the execution is blocked inside of GetMessage...
  8. Re: Create window form C++ function using MFC or Win32 API

    The last error - ShowWindow fails.
  9. Re: Create window form C++ function using MFC or Win32 API

    Thanks Igor,

    I've tried already this. hInst isnt NULL and CreateWindow also return non-NULL handler, but when I try to show window
    BOOL b_ShowWindowRSLT = ShowWindow(hWnd, SW_SHOWDEFAULT );where...
  10. Create window form C++ function using MFC or Win32 API

    Hello,

    My setup is as follows:
    There is function written C++, that must be compiled to DLL. This DLL is linked to some CAD (computer aded design) tool, that has special interface for it.
    I want...
Results 1 to 10 of 10





Click Here to Expand Forum to Full Width

Featured