Type: Posts; User: Sh@dow
Search took 0.01 seconds.
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
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
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++.
>>How would I go about subclassing the parent form?
After creating the form (CreateWindow / CreateWindowEx) do the following:
prevwndproc = (WNDPROC) SetWindowLong (
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...
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, 11: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, 09:39 AM
I have tried this:
if(msg.message == WM_SIZE)
April 16th, 2012, 07: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.
April 16th, 2012, 05: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:
if(msg.message == WM_SIZE)...
April 15th, 2012, 05:21 AM
I'm using the following code:
if(msg.message == WM_SIZE)
April 13th, 2012, 02:27 PM
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:
and to ensure that there is no IDOK control in the dialog...
January 13th, 2012, 05:48 AM
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...
November 30th, 2011, 09:29 AM
I'm debugging a software and i need to dump selected variable (array of float or double values) to a txt file (or into other format) from debugger.
Is there any Plugin available for Visual Studio...
November 30th, 2011, 09:26 AM
>>I guess, this topic is about a slider and not about a scrollbar control, given the ID name IDC_SLIDER.
That is my mistake. I mixed this two different things.
Thanks ovidiucucu for help.
November 24th, 2011, 11:08 AM
The structure is initialized to 0 before call. After GetScrollInfo the structure is the same as before calling GetScrollInfo. GetScrollInfo returns 1. GetLastError returns 0. So it seems everything...
November 24th, 2011, 08:34 AM
Yeah, i have change my code to SIF_POS and still GetScrollInfo returns nothing. No Errors as well.
HWND slider = GetDlgItem(hwndDlg,IDC_SLIDER);
November 23rd, 2011, 10:05 AM
I have searched the forum but found nothing related to my problem.
I'm using a horizontal scroll bar in a dialog box. I want to process SB_PAGELEFT message.
August 27th, 2011, 01:59 PM
Yes. My case is as you described above. Number of menu items is variable. (when user adds a new graph to plot a new menu item is added). Each menu item has fixed number of sub-items. I think that...
August 25th, 2011, 07:15 AM
The problem is that my menu is not static (number of idx may vary on program running). So when i add a new idx menu item i must generate unique menu id's for it. So there must be a dynamic storage...
Click Here to Expand Forum to Full Width