API Call to determine value of ComboBox?

  • Thread starter Thread starter Joe HM
  • Start date Start date
J

Joe HM

Hello -

I just figured out how to determine the window title and classes of
running applications via the EnumWindows() and GetWindowTitle() API
calls (thanks to some very knowledgeable people in this group).

My next question is now whether there is a call so I can determine the
value of a ComboBox? I can get the class and its name via the
GetClassName() call but is there any way to get the value?

Thanks,
Joe
 
My next question is now whether there is a call so I can determine the
value of a ComboBox? I can get the class and its name via the
GetClassName() call but is there any way to get the value?

SendMessage(WM_GETTEXT) should do it.


Mattias
 
Back
Top