Click here to Skip to main content
15,907,905 members
Home / Discussions / C#
   

C#

 
AnswerRe: Win32 CEdit class? Pin
Nader Elshehabi30-Aug-06 13:22
Nader Elshehabi30-Aug-06 13:22 
QuestionHow to use .ico files in toolbar, buttons, etc Pin
monrobot1330-Aug-06 12:48
monrobot1330-Aug-06 12:48 
AnswerRe: How to use .ico files in toolbar, buttons, etc Pin
Nader Elshehabi30-Aug-06 13:07
Nader Elshehabi30-Aug-06 13:07 
Questionpopulating data into a listbox (SLOW) Pin
Saamir30-Aug-06 11:26
Saamir30-Aug-06 11:26 
AnswerRe: populating data into a listbox (SLOW) Pin
Nader Elshehabi30-Aug-06 12:04
Nader Elshehabi30-Aug-06 12:04 
AnswerRe: populating data into a listbox (SLOW) Pin
gus_br30-Aug-06 16:23
gus_br30-Aug-06 16:23 
QuestionUser32 SetFocus not working - any ideas? Pin
wbjohnson30-Aug-06 11:24
wbjohnson30-Aug-06 11:24 
AnswerRe: User32 SetFocus not working - any ideas? Pin
Nader Elshehabi30-Aug-06 11:34
Nader Elshehabi30-Aug-06 11:34 
Hello

Quoted from MSDN:
If the hWnd parameter is invalid or the window is not attached to the calling thread's message queue, the return value is NULL. To get extended error information, call GetLastError.

Try to see the returned value, and GetLastError().

Also I suggest to SendMessage(WM_SETFOCUS) yourself, instead of calling SetFocu(hWnd).


RegardsRose | [Rose]

GeneralRe: User32 SetFocus not working - any ideas? Pin
wbjohnson30-Aug-06 11:59
wbjohnson30-Aug-06 11:59 
AnswerRe: User32 SetFocus not working - any ideas? Pin
Nader Elshehabi30-Aug-06 12:12
Nader Elshehabi30-Aug-06 12:12 
GeneralRe: User32 SetFocus not working - any ideas? Pin
wbjohnson30-Aug-06 12:15
wbjohnson30-Aug-06 12:15 
QuestionGet the exact data types from a sql table Pin
Ista30-Aug-06 11:11
Ista30-Aug-06 11:11 
AnswerRe: Get the exact data types from a sql table Pin
mikone30-Aug-06 11:43
mikone30-Aug-06 11:43 
QuestionToolstrip redraw problem Pin
srev30-Aug-06 10:49
srev30-Aug-06 10:49 
AnswerRe: Toolstrip redraw problem Pin
Nader Elshehabi30-Aug-06 11:30
Nader Elshehabi30-Aug-06 11:30 
GeneralRe: Toolstrip redraw problem Pin
srev30-Aug-06 23:16
srev30-Aug-06 23:16 
GeneralRe: Toolstrip redraw problem Pin
Nader Elshehabi31-Aug-06 1:30
Nader Elshehabi31-Aug-06 1:30 
GeneralRe: Toolstrip redraw problem Pin
srev31-Aug-06 3:34
srev31-Aug-06 3:34 
QuestionMultipage - pageview : Tabstrip Pin
shivarishxxxx30-Aug-06 10:16
shivarishxxxx30-Aug-06 10:16 
AnswerRe: Multipage - pageview : Tabstrip Pin
Nader Elshehabi30-Aug-06 11:26
Nader Elshehabi30-Aug-06 11:26 
GeneralRe: Multipage - pageview : Tabstrip Pin
shivarishxxxx30-Aug-06 17:58
shivarishxxxx30-Aug-06 17:58 
JokeRe: Multipage - pageview : Tabstrip Pin
Nader Elshehabi31-Aug-06 1:55
Nader Elshehabi31-Aug-06 1:55 
QuestionHow to wait for multiple STA threads to finish? Pin
SandeepN30-Aug-06 10:14
SandeepN30-Aug-06 10:14 
AnswerRe: How to wait for multiple STA threads to finish? Pin
Nader Elshehabi30-Aug-06 11:17
Nader Elshehabi30-Aug-06 11:17 
GeneralRe: How to wait for multiple STA threads to finish? Pin
SandeepN30-Aug-06 11:41
SandeepN30-Aug-06 11:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.