CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Location
    Spain
    Posts
    335

    CComboBox OnDropDown, how can I cancel the operation...



    Hi,


    I have a CComboBox, and I want that when the user selects on the DropDown list box button, ask the user for something and if something fails then avoid to show the list box of the combo box ( cancel the "change selection" in the combo box), Is there any way to do that ?


    Thanks, Bye !

    Braulio

  2. #2
    Join Date
    Apr 1999
    Posts
    24

    Re: CComboBox OnDropDown, how can I cancel the operation...

    Override messages CBN_DROPDOWN or CB_SHOWDROPDOWN
    See the help for more details.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured