Search:
Type: Posts; User: quorsum
Search:
Search took 0.11 seconds.
-
January 17th, 2016, 12:40 PM
Thanks for clearing it up. I came to the conclusion that it cannot be done, just wanted to make sure I didn't miss something.
Of course I can solve it some other way, would just have been the...
-
January 17th, 2016, 08:58 AM
As mentioned, I am using the Drop List type
-
January 16th, 2016, 03:56 PM
Hello
I just cannot find how to delete the list only in a drop list combobox without deleting the text in the edit control as well.
I tried to insert the saved text but there seems no command...
-
December 13th, 2015, 01:22 PM
Thanks a lot Philip Nicoletti
Exactly what I was looking for.
-
December 9th, 2015, 01:30 PM
Thanks GCDEF for your clear reply.
Obviously I do something wrong after that.
what I am trying to do is:
CComboBox m_cbtheme;
cbthemea.SubclassDlgItem(IDC_THEMEA,this);
-
December 7th, 2015, 10:42 AM
Hello
I have 2 combo boxes in the same class that use the same code.
So I wrote a function for combobox1 and another for combobox2.
Is it possible to assign a variable for the controls and...
-
Hello
Hiding a child window after EndPaint(&ps) works fine, except hat it does so before the repainting is done.
Is there any way to do it when the repainting is finished without using a timer?
...
-
Sorry, ignore it.
I just declare a separate function to be called by OnBnClicked instead of calling OnBnClicked from where I want to pass the parameter.
-
Dear razzle
Thanks a lot for your encouragement. As it is I was indeed hesitating to post questions in this forum anymore, but will dare to do it again after your kind post.
-
Hello
Is there any way to pass a parameter to an "OnBnClicked()" event?
Any help is much appreciated.
-
2kaud
Your answer got me thinking and sure enough I found that the "%lld" specifier and not just the "%d" is needed when converting a 64 bit integer to string.
Thanks again, You deserved my...
-
VladimirF
long long test=5000000000;
-
Thanks 2kaud
I always suspected something fishy with my system. But what is the explanation I wonder.
-
Same here, sizeof(long long)==8
But when I assign 5000000000 to the variable I get 705032704.
-
System: 32 bit windows 7 Visual Studio 2010
Expected 64 bit range (as double works fine)
got 32 bit range
-
Hello
Declaring an __int64 or long long in VS2010 has the same range as an int while double works fine.
Checked MSDN over and over and can see no reason why this data range should not be 64...
-
December 1st, 2014, 10:01 AM
Okay I will try:
I open up a child window that now covers an edit control in the parent. However, this edit control still gets the focus when clicked, although not visible because of the covering...
-
November 30th, 2014, 02:17 PM
Hello
I have a child window above an edit control.
When the position of the control in the parent in the child on top of it is clicked the control gets topmost.
Is there any way to prevent this?...
-
April 13th, 2012, 07:10 AM
Thanks for this very useful info.
-
April 11th, 2012, 12:33 PM
So I sure was completely on the wrong path.
Looking into the windowproc I can't see how exactly to get the message for WM_PAINT completed.
Could you give me some more info.
-
April 11th, 2012, 10:24 AM
I do not call OnPaint in the code, I do InvalidateRect.
I did indeed overwrite EndPaint:
void CEGraph::EndPaint(LPPAINTSTRUCT lpPaint) {
if (!barvisible) AutoScroll();
}
-
April 10th, 2012, 12:49 PM
So, if you wanted to respond after OnPint is done, how would you do this?
-
April 10th, 2012, 12:35 PM
Well, I thought that after EndPaint is called it is not within OnPaint.
-
April 10th, 2012, 12:30 PM
OK, never mind these details.
The point is:
As I said in my first post, everything works fine except for the flicker after OnPaint is called a few dozen times.
And the flicker is only with...
-
April 10th, 2012, 12:10 PM
But before it does that I have to send how much to scroll and Invalidate.
This is what I use:
// Use BeginPaint and EndPaint when responding to WM_PAINT message
// An alternative method is...
|
Click Here to Expand Forum to Full Width
|