Search:
Type: Posts; User: Sh@dow
Search:
Search took 0.02 seconds.
-
February 26th, 2019, 01:59 PM
>>You need to make MSDN your friend
Yaah!!!
RTFM always help. Just walked through another MSDN topic and understood finally how this WM_PAINT message work.
By the way, I have tested several...
-
February 25th, 2019, 11:42 AM
Thanks a lot for reply.
I didn't noticed that style flag. I will try it.
It's sad that all books on WINAPI are the same in a sense that they describe only basics.
I would like to learn more about...
-
February 23rd, 2019, 10:55 AM
Hi ALL,
I am the crazy one who still program gui today using pure winapi interface.
I would like to figure out how to create this type of window (pic attached).
It is the window from Visual...
-
February 18th, 2019, 11:13 AM
After debugging i have solved the problem.
WM_SIZE message handler for MDI child window was returning 0. Meaning that Default window procedure was not called.
I seems that for correct window...
-
February 17th, 2019, 05:41 AM
Hello.
The parent of the tab control is handle of the MDI window upon which it is created.
I also noticed another ussue. All MDI windows has title. When we maximize MDI window the title of the main...
-
February 16th, 2019, 07:50 AM
Hi ALL,
My application GUI based on winapi and utilizes MDI.
Everything was fine but when i added tab control to mdi child window i noticed a problem.
When this window is maximized (within the...
-
February 16th, 2019, 07:22 AM
I am not programming with win GDI for a long time so i can't be 100% sure.
The function TextOut(hMemDC, 20, 30, "Hello world", 12); expects the origin (0,0) to be at the top left corner of the...
-
Hello everyone,
I have created a dialog box (WinAPI). I added a Edit Control upon it. I want to draw inside with it using OPenGL.
I simply set the color of the background of the edit control to...
-
February 8th, 2013, 04:02 PM
Hello everyone,
I'm digging an old project and i can't switch to a newer visual studio.
I want to plot float data array during debug.
I know some IDE's have such option. There is a separate...
-
November 9th, 2012, 07:44 PM
>>A device?...As in a peripheral? Or software?
It is a device which has x86 processor inside and Embedded XP.
It is a good idea to use a file. The only problem i see is sync.
When program is...
-
November 9th, 2012, 07:40 AM
Ok. I was unclear.
There is a device running on Embedded XP. It measures some parameters of the fiber optics line. It is connected to a network.
Operator resides far from that device and wants to...
-
November 8th, 2012, 05:35 PM
The c++ generates array of numbers which must be plotted in the browser.
Also there are some numbers which must be displayed in edit box.
I want that data could be updated automatically every 5...
-
November 8th, 2012, 01:01 PM
Hello,
There is a computer where C++ program runs. I want to connect to it with a browser an see the data in the browser. The data is calculated by the C++ program.
As i understand there must be...
-
November 8th, 2012, 07:19 AM
I have Apache server installed. I'm using Flot library to plot data in the browser.
The data is generated in other software written in C++.
I want the JavaScript to send command (when user press...
-
>>How would I go about subclassing the parent form?
After creating the form (CreateWindow / CreateWindowEx) do the following:
prevwndproc = (WNDPROC) SetWindowLong (
handle,...
-
I don't know what controls do you use. I had a tab control. I did subclassing only for it, not for controls that is have. I worked for me.
As i understood you have flickering when you resize your...
-
Hi,
I had a problem with flickering using tab control. I solved it with the help of sublass procedure
Here how it looks like:
WinTabBase* object =...
-
April 16th, 2012, 10:00 AM
Here what i found about that:
So there are main thread message loop and secondary internal message loop. When resize happens messages are sent to internal loop and not processed in thread's...
-
April 16th, 2012, 08:39 AM
I have tried this:
while(GetMessage(&msg,0,0,0))
{
if(!FilterCommand(msg))
{
TranslateMessage(&msg);
if(msg.message == WM_SIZE)
{
-
April 16th, 2012, 06:01 AM
Yes. It seems that WM_SIZE is non queued message.
I will describe the problem more deeply.
I have a thread that creates a window. It has message loop and window proc. Working ok.
I have...
-
April 16th, 2012, 04:51 AM
I tried this. I see that messages arriving. I can capture WM_PAINT for example. But not WM_SIZE.
I also tried this:
while(GetMessage(&msg,0,0,0))
{
if(msg.message == WM_SIZE)...
-
April 15th, 2012, 04:21 AM
I'm using the following code:
while(GetMessage(&msg,0,0,0))
{
if(msg.message == WM_SIZE)
OutputDebugString(L"SIZE");
TranslateMessage(&msg);
-
April 13th, 2012, 01:27 PM
Hi, everyone
I'm checking messages in a message loop. After i call GetMessage i'm trying to identify message from message field of the MSG structure. I found that identifiers differs from those...
-
January 17th, 2012, 09:00 AM
No. I wasn't aware about this option. That worked. Thanks.
PS: I found alternative way to do:
SendMessage(hwndDlg,DM_SETDEFID,IDOK,0);
and to ensure that there is no IDOK control in the dialog...
-
January 13th, 2012, 05:48 AM
Hi all,
I have several edit controls and buttons on an edit control. When a number is entered and the user press enter i would like that nothing would happen.
So i would like to disable the...
|
Click Here to Expand Forum to Full Width
|