Windows Mobile Developer Network Forum

Windows Mobile Developer Network Forum
It is currently Thu Sep 09, 2010 11:00 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Changing Focus Between Elements in Window
PostPosted: Tue Jun 24, 2008 8:22 am 
Offline

Joined: Tue Jun 24, 2008 8:15 am
Posts: 1
I have a main window, and various comboboxes and buttons created within in. (CreateWindow has been used for all mentioned)

When the main window loads, focus is completely missing. I can't select anything. I first tried to use SetFocus and passed the main window handle. No luck. I then tried to SetFocus to a single element. This worked. When the window loaded, one of the comboboxes had focus. However, I couldn't move to any other of elements on the screen.

I want to try avoid using a DialogBox here. With a window, how do I set/change focus between various elements (comboboxes and buttons)?

Thanks in advance!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 26, 2008 6:58 am 
Offline

Joined: Fri Feb 02, 2007 10:31 am
Posts: 89
Location: Pune
Hi,

Is it possible for you to Post the code.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group