Article View: be.comp.programming
Article #4075Re: Month Calendar and Date Time Picker problem
From: Elias Fotinis
Date: Wed, 17 Sep 2003 20:49
Date: Wed, 17 Sep 2003 20:49
8 lines
2021 bytes
2021 bytes
Vladimir wrote: > I've wriiten an application in pure Win32 API. Code is below. It must > show simple dialog screen with subj. But it doesn't. Macro DialogBox > returns soon after I call it with nRet = -1. When I remove subj > controls from dialog, everything works fine. What is the problem? Use InitCommonControlsEx at the beginning of WinMain, to make sure the mentioned control classes get registered, before you try to use them.
Technical Details
Message-ID:
<1063831811.541764@athprx02>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!newsfeed.stueberl.de!proxad.net!freenix!jussieu.fr!newsfd02.forthnet.gr!not-for-mailReferences:
<1063733736.605766@ufacom.ru>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113dfb,f7f7a62f4f19e691 X-Google-Attributes: gid113dfb,public X-Google-Thread: fcea4,f7f7a62f4f19e691 X-Google-Attributes: gidfcea4,public X-Google-Thread: 108717,f7f7a62f4f19e691 X-Google-Attributes: gid108717,public X-Google-ArrivalTime: 2003-09-17 13:55:03 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!newsfeed.stueberl.de!proxad.net!freenix!jussieu.fr!newsfd02.forthnet.gr!not-for-mail From: "Elias Fotinis" <efotinisNO@SPAMpat.forthnet.gr> Newsgroups: be.comp.programming,comp.os.ms-windows.programmer.win32,comp.programming Subject: Re: Month Calendar and Date Time Picker problem Date: Wed, 17 Sep 2003 23:49:08 +0300 Organization: FORTHnet S.A., Atthidon 4, GR-17671 Kalithea, Greece, Tel: +30 2109559000, Fax: +30 2109559333, url: http://www.forthnet.gr Lines: 9 Message-ID: <1063831811.541764@athprx02> References: <1063733736.605766@ufacom.ru> NNTP-Posting-Host: newsfd02.forthnet.gr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: 7bit X-Trace: athprx02.forthnet.gr 1063831811 11880 193.92.150.75 (17 Sep 2003 20:50:11 GMT) X-Complaints-To: abuse@forthnet.gr NNTP-Posting-Date: Wed, 17 Sep 2003 20:50:11 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Cache-Post-Path: newsfd02!unknown@ppp1-198.pat.forthnet.gr