Click here to Skip to main content
15,886,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionVseDebug with Visual express 2005 Pin
ForNow28-Feb-07 15:21
ForNow28-Feb-07 15:21 
Questionvector <t_vertice> puntos; [modified] Pin
George Lam28-Feb-07 15:02
George Lam28-Feb-07 15:02 
QuestionRe: vector t_vertice puntos; Pin
prasad_som28-Feb-07 17:29
prasad_som28-Feb-07 17:29 
GeneralRe: vector puntos; Pin
prasad_som28-Feb-07 18:15
prasad_som28-Feb-07 18:15 
GeneralRe: vector puntos; Pin
George Lam1-Mar-07 7:11
George Lam1-Mar-07 7:11 
AnswerRe: vector puntos; [modified] Pin
Mark Salsbery1-Mar-07 8:25
Mark Salsbery1-Mar-07 8:25 
Questionhelp on window on be set in always actvie ? Pin
icemelt(newbie)28-Feb-07 15:00
icemelt(newbie)28-Feb-07 15:00 
AnswerRe: help on window on be set in always actvie ? Pin
Xing Chen28-Feb-07 16:07
Xing Chen28-Feb-07 16:07 
AttachThreadInput() and set window by SetFocus().
sample:
<br />
BOOL SetWindowActive(HWND hActivedApp)<br />
{<br />
    HWND hWnd = NULL;<br />
    hWnd = GetForegroundWindow();<br />
    DWORD FormThreadID = GetCurrentThreadId();<br />
    DWORD CWndThreadID = GetWindowThreadProcessId(hWnd, NULL);<br />
    if(FormThreadID != CWndThreadID )<br />
    {<br />
      AttachThreadInput(CWndThreadID, FormThreadID, true);<br />
    }<br />
<br />
    if( ::IsWindow(hActivedApp) )<br />
    {<br />
      SetFocus(hActivedApp);<br />
      return TRUE;<br />
    }<br />
<br />
    if(FormThreadID != CWndThreadID )<br />
    {<br />
      AttachThreadInput(CWndThreadID, FormThreadID, false); <br />
    }<br />
    return FALSE;<br />
}<br />

GeneralRe: help on window on be set in always actvie ? Pin
icemelt(newbie)28-Feb-07 17:23
icemelt(newbie)28-Feb-07 17:23 
GeneralRe: help on window on be set in always actvie ? Pin
Xing Chen28-Feb-07 17:32
Xing Chen28-Feb-07 17:32 
QuestionScreen Fails to Refresh after another Pgm Paints Pin
syscwl28-Feb-07 13:56
syscwl28-Feb-07 13:56 
QuestionRe: Screen Fails to Refresh after another Pgm Paints Pin
Mark Salsbery28-Feb-07 14:12
Mark Salsbery28-Feb-07 14:12 
AnswerRe: Screen Fails to Refresh after another Pgm Paints Pin
syscwl28-Feb-07 14:52
syscwl28-Feb-07 14:52 
GeneralRe: Screen Fails to Refresh after another Pgm Paints Pin
Mark Salsbery28-Feb-07 15:04
Mark Salsbery28-Feb-07 15:04 
QuestionEasy Question Pin
arbster128-Feb-07 12:24
arbster128-Feb-07 12:24 
AnswerRe: Easy Question Pin
Stephen Hewitt28-Feb-07 12:27
Stephen Hewitt28-Feb-07 12:27 
QuestionImportant question regarding Window kernel Pin
parth_00728-Feb-07 11:37
parth_00728-Feb-07 11:37 
AnswerRe: Important question regarding Window kernel Pin
Mark Salsbery28-Feb-07 14:20
Mark Salsbery28-Feb-07 14:20 
QuestionText Box Pin
ScotDolan28-Feb-07 11:18
ScotDolan28-Feb-07 11:18 
AnswerRe: Text Box Pin
Mark Salsbery28-Feb-07 14:25
Mark Salsbery28-Feb-07 14:25 
QuestionPLEASE HELP :( Pin
İsmail Durmaz28-Feb-07 10:41
İsmail Durmaz28-Feb-07 10:41 
AnswerRe: PLEASE HELP :( Pin
Christian Graus28-Feb-07 10:49
protectorChristian Graus28-Feb-07 10:49 
GeneralRe: PLEASE HELP :( Pin
İsmail Durmaz28-Feb-07 10:52
İsmail Durmaz28-Feb-07 10:52 
GeneralRe: PLEASE HELP :( Pin
Christian Graus28-Feb-07 14:47
protectorChristian Graus28-Feb-07 14:47 
GeneralRe: PLEASE HELP :( Pin
Mark Salsbery28-Feb-07 14:26
Mark Salsbery28-Feb-07 14:26 

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.