Search:
Type: Posts; User: Pavel_47
Search:
Search took 0.18 seconds.
-
January 9th, 2013, 04:32 AM
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...
-
January 9th, 2013, 04:26 AM
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...
-
January 7th, 2013, 05:47 PM
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...
-
January 7th, 2013, 05:26 PM
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 ?
-
January 7th, 2013, 05:07 PM
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...
-
January 7th, 2013, 04:30 PM
-
January 7th, 2013, 03:55 PM
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...
-
January 7th, 2013, 03:18 PM
The last error - ShowWindow fails.
-
January 7th, 2013, 02:41 PM
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...
-
January 7th, 2013, 01:41 PM
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...
|
Click Here to Expand Forum to Full Width
|