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: <004701c48eaa$36dec490$0f0e0d0c@nb0> From: "Turbanov Vladislav Dmitrievich" To: "Cygwin Mailing List" Cc: "Igor Pechtchanski" Subject: Error creating dialog(update 3) not fix but warning Date: Mon, 30 Aug 2004 19:58:33 +0400 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 0435-2, 08/28/2004), Outbound message X-Antivirus-Status: Clean X-Spam: Not detected X-IsSubscribed: yes There is a problem while creating a dialog.... The DialogBox Procedure returns -1,but the GetLastError returns ERROR_SUCCESS... While debuging I noticed that it sends these messages to DialogProc: 2 and 130 - both of them are not WM_INITDIALOG since it is 272 Seems that the use IEDIT in dialog template is malfunctionous in windres... Using it causes dialogs not to appear...I mentioned the strange behaviour of windres when it didn't allow me to omit IEDIT caption... IEDIT has no caption at all .... and is not defined by MS-SDK Yes, the error is is....DO NOT USE IEDIT .... windres compiles it wrong...USE TEXTEDIT with ES_NUMBER and then convert it to numeric data .... WINDRES IS WRONG!!! P.S. Excuse me , Gar-r-ri, maybe I did write it in the wrong style for ya.... THX THX -- 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/