Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <00f001c3cdbe$8a935ea0$6601a8c0@MYKEPCGW> From: "Myke Predko" To: References: <019e01c3cd11$febfb2e0$6601a8c0 AT MYKEPCGW> Subject: Re: Windres Problem with ComboBox/tabbing? - Fixed/MinGW Problem Date: Sun, 28 Dec 2003 22:47:54 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep01-mail.bloor.is.net.cable.rogers.com from [24.156.204.171] using ID at Sun, 28 Dec 2003 22:45:57 -0500 X-IsSubscribed: yes Thanx Igor for the pointer, I joined the list and got my answers. For anybody that cares, or runs into the same problems: 1. The combobox control's "height" parameter is the height with the dropdown active of the control, not its height with the dropdown hidden. This doesn't seem to be well explained in either Microsoft or other people's documentation. 2. The tabbing problem is a bit more subtle and if you are running with MinGW as I am, you are going to have it UNLESS your GetMessage/Translate/Dispatch loop at the end of "WinMain" is: while (GetMessage(&Msg,NULL,0,0)){ if ((!IsWindow(hwnd)) || (!IsDialogMessage(hwnd,&Msg))){ TranslateMessage(&Msg); DispatchMessage(&Msg); } } The "IsDialogMessage" function determines if a message is for the current dialog box and processes it, if it is. This doesn't seem to be documented anywhere, except with a key accelerator is used in the application code. myke -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/