Do you know if is possible to do a combobox with the lenght of area (2)(see image) bigger than area (1) ?

Code: Select all | Expand
#include "fivewin.ch"
function Main()
local oWnd, oCbx
local aItems := { "One", "Two", "Three" }
local nItem := 1
DEFINE WINDOW oWnd
@ 60, 20 COMBOBOX oCbx VAR nItem ITEMS aItems SIZE 100,400 PIXEL OF oWnd
oCbx:SendMsg( 0x160, 250, 0 )
@ 60,300 BUTTON "OK" SIZE 60,30 PIXEL OF oWnd
ACTIVATE WINDOW oWnd CENTERED
return nil
Code: Select all | Expand
SendMessage( oCbx:hWnd, 0x0153, -1, nNewHeight )
byte-one wrote:I found, sendmessage(..) must be on the ON INIT clausula from the dialog.