PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Jean-Pierre LEROY on June 26, 2005, 08:13:54 AM

Title: How to send the %CBN_SELENKOK notification message by progra
Post by: Jean-Pierre LEROY on June 26, 2005, 08:13:54 AM
Hi,

I would like to simulate the %CBN_SELENDOK notification message that is sent by windows when the user selects a list item, or selects an item and then closes the list.

How can I send this messgae within my program to a combo-box ?

I have just try
SendMessage(HWND_MAINWINDOW_COMBO1 , %CBN_SELENDOK, %TRUE, %TRUE)
... without any success.

Thank you for your help.
Jean-Pierre
Title: How to send the %CBN_SELENKOK notification message by progra
Post by: TechSupport on June 26, 2005, 11:56:07 AM
That notification is sent through the WM_COMMAND message:


SendMessage hWndForm, %WM_COMMAND, MakLng(IDC_FORM1_COMBO1, %CBN_SELENDOK), HWND_FORM1_COMBO1
Title: How to send the %CBN_SELENKOK notification message by progra
Post by: Jean-Pierre LEROY on June 26, 2005, 03:57:20 PM
Hi Paul,

Thank you very much for your help ... %CBN_SELENDOK works very well now.

Jean-Pierre