Im working on my first C win32 app and things are going ok except for this one little tab problem.
My main window is created using WS_SYSMENU, WS_MINIMIZEBOX, WS_VISIBLE, DS_3DLOOK and WS_EX_WINDOWEDGE.
Later on case WM_CREATE i create all controls using CreateWindow and most of them are checkboxes, editfields and some buttons. So the only styles they use are WS_CHILD, WS_VISIBLE, WS_TABSTOP and some use BS_AUTOCHECKBOX.
All this controls should be acessible using the TAB key, thats why i added WS_TABSTOP to all of them but it doesnt work, nothing happens when i use tab on my app.
Do you have any idea why that would happen?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ehr, sorry, but im just a lame beginner, i think im not getting what you say:
You mean,
a)if all my controls were created inside a Dialog Box (but using CreateWindow/CreateWindowEx) things would work.
b)If inside my main window i create my dialogs not using CreateWindow/CreateWindowEx but insert the controls as dialogs things would work? I never thought that we possible :\ Is it?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Im working on my first C win32 app and things are going ok except for this one little tab problem.
My main window is created using WS_SYSMENU, WS_MINIMIZEBOX, WS_VISIBLE, DS_3DLOOK and WS_EX_WINDOWEDGE.
Later on case WM_CREATE i create all controls using CreateWindow and most of them are checkboxes, editfields and some buttons. So the only styles they use are WS_CHILD, WS_VISIBLE, WS_TABSTOP and some use BS_AUTOCHECKBOX.
All this controls should be acessible using the TAB key, thats why i added WS_TABSTOP to all of them but it doesnt work, nothing happens when i use tab on my app.
Do you have any idea why that would happen?
I got no idea why it doesnt work cause it looks like youre doing it right.
Maybe it would work if you have created your controls using dialogs and not createwindow, try that.
Ehr, sorry, but im just a lame beginner, i think im not getting what you say:
You mean,
a)if all my controls were created inside a Dialog Box (but using CreateWindow/CreateWindowEx) things would work.
b)If inside my main window i create my dialogs not using CreateWindow/CreateWindowEx but insert the controls as dialogs things would work? I never thought that we possible :\ Is it?