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

Search:

Type: Posts; User: quorsum

Page 1 of 6 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    6
    Views
    10,931

    Re: ComboBoxe delete list only

    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...
  2. Replies
    6
    Views
    10,931

    Re: ComboBoxe delete list only

    As mentioned, I am using the Drop List type
  3. Replies
    6
    Views
    10,931

    ComboBoxe delete list only

    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...
  4. Replies
    4
    Views
    1,158

    Re: Variable for a member variable

    Thanks a lot Philip Nicoletti

    Exactly what I was looking for.
  5. Replies
    4
    Views
    1,158

    Re: Variable for a member variable

    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);
  6. Replies
    4
    Views
    1,158

    Variable for a member variable

    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...
  7. Replies
    2
    Views
    741

    Hide Child Window after EndPaint(&ps)

    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?
    ...
  8. Replies
    1
    Views
    812

    Re: Passing parameter to OnBnClicked()

    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.
  9. Thread: Integer Range

    by quorsum
    Replies
    18
    Views
    6,816

    Re: (Resolved) Integer Range

    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.
  10. Replies
    1
    Views
    812

    Passing parameter to OnBnClicked()

    Hello

    Is there any way to pass a parameter to an "OnBnClicked()" event?

    Any help is much appreciated.
  11. Thread: Integer Range

    by quorsum
    Replies
    18
    Views
    6,816

    (Resolved) Integer Range

    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...
  12. Thread: Integer Range

    by quorsum
    Replies
    18
    Views
    6,816

    Re: Integer Range

    VladimirF

    long long test=5000000000;
  13. Thread: Integer Range

    by quorsum
    Replies
    18
    Views
    6,816

    Re: Integer Range

    Thanks 2kaud

    I always suspected something fishy with my system. But what is the explanation I wonder.
  14. Thread: Integer Range

    by quorsum
    Replies
    18
    Views
    6,816

    Re: Integer Range

    Same here, sizeof(long long)==8

    But when I assign 5000000000 to the variable I get 705032704.
  15. Thread: Integer Range

    by quorsum
    Replies
    18
    Views
    6,816

    Re: Integer Range

    System: 32 bit windows 7 Visual Studio 2010
    Expected 64 bit range (as double works fine)
    got 32 bit range
  16. Thread: Integer Range

    by quorsum
    Replies
    18
    Views
    6,816

    Integer 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...
  17. Replies
    3
    Views
    1,652

    Re: Child Window on top of control

    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...
  18. Replies
    3
    Views
    1,652

    Child Window on top of control

    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?...
  19. Replies
    21
    Views
    5,532

    Re: Flicker when using EndPaint

    Thanks for this very useful info.
  20. Replies
    21
    Views
    5,532

    Re: Flicker when using EndPaint

    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.
  21. Replies
    21
    Views
    5,532

    Re: Flicker when using EndPaint

    I do not call OnPaint in the code, I do InvalidateRect.

    I did indeed overwrite EndPaint:


    void CEGraph::EndPaint(LPPAINTSTRUCT lpPaint) {
    if (!barvisible) AutoScroll();
    }
  22. Replies
    21
    Views
    5,532

    Re: Flicker when using EndPaint

    So, if you wanted to respond after OnPint is done, how would you do this?
  23. Replies
    21
    Views
    5,532

    Re: Flicker when using EndPaint

    Well, I thought that after EndPaint is called it is not within OnPaint.
  24. Replies
    21
    Views
    5,532

    Re: Flicker when using EndPaint

    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...
  25. Replies
    21
    Views
    5,532

    Re: Flicker when using EndPaint

    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...
Results 1 to 25 of 141
Page 1 of 6 1 2 3 4





Click Here to Expand Forum to Full Width

Featured