Smartphone Thoughts - Daily News, Views, Rants and Raves

Be sure to register in our forums! Share your opinions, help others, and enter our contests.





Go Back   Thoughts Media Forums > SMARTPHONE THOUGHTS > Smartphone Developer

Reply
 
LinkBack (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 06-24-2008, 08:31 AM
Join Date: Jun 2008
Posts: 1
Smile Smartphone/Native C++: Changing Focus Between Elements in Window

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!
 
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

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

LinkBacks (?)
LinkBack to this Thread: http://forums.thoughtsmedia.com/f95/smartphone-native-c-changing-focus-between-elements-window-89678.html
Posted By For Type Date
Smartphone Thoughts - Daily News, Views, Rants and Raves This thread Refback 06-24-2008 11:17 PM


All times are GMT +1. The time now is 03:07 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 RC7