IT Community - Software Programming, Web Development and Technical Support

I got OnInitDialog bug in the emulator?

This is a discussion on I got OnInitDialog bug in the emulator? within the Mobile Software Development forums, part of the Software Development category; I got OnInitDialog bug in the emulator? I am calling DoModal() on a simple dialog, and in OnInitDialog() am trying ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > Mobile Software Development

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-30-2007, 01:17 AM
oxygen oxygen is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 633
oxygen is on a distinguished road
Question I got OnInitDialog bug in the emulator?

I got OnInitDialog bug in the emulator?

I am calling DoModal() on a simple dialog, and in OnInitDialog() am trying to set some text on a CStatic. But on the emulator, the text doesn't change from the default text. On the device it works as expected.

Same for if I try and change text on a CButton, or other dialogs objects.
After OnInitDialog() is done I can change the text just fine.
What gives?
__________________
The OXYGEN
Delivers edgy, intelligent Technology to all...

Last edited by oxygen : 07-30-2007 at 05:22 AM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-30-2007, 05:23 AM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 882
kingmaker is on a distinguished road
Send a message via Yahoo to kingmaker
Default Re: I got OnInitDialog bug in the emulator?

Hi Oxygen,

This seems to work fine in a test app. Care to provide a sample?
__________________
The KINGMAKER
Makes Every Thing Possible

Stuffs (My Blog)
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
WM 6 emulator not accessing web projects on my machine :( theone Windows Mobile 1 07-27-2007 05:45 AM
Windows Mobile 5.0 PocketPC v2.0 emulator Bluetooth peripheral serial port mapping pr theone Mobile Software Development 1 07-25-2007 03:04 AM
How do I use JDWPI to debug a MIDlet running in the Wireless Toolkit's emulator? mobilegeek Mobile Software Development 1 07-23-2007 10:43 PM


All times are GMT -7. The time now is 10:33 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0