![]() |
| ||
| Make a window Static as well as allow adding text using CreateWindowEx( I'm using CreateWindowEx() function to create an "EDIT" window, i.e. where a user can type. g_hwndMain = CreateWindowEx(0, But I would also like the window to be static. Is there a way to do it during the creation of the window? Or any other function that may be used after the creation of the window? I tried using SetWindowPos function after creating the window using SWP_NOSENDCHANGING and SWP_NOREPOSITION, but that didn't o the trick. ANy ideas |
| ||
| Re: Make a window Static as well as allow adding text using CreateWindowEx( Handling WM_WINDOWPOSCHANGING message and then setting the SWP_NOSENDCHANGING flag of the flags member of the WINDOWPOS structure did the trick |
| All times are GMT -4. The time now is 4:35 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC