Click here to Skip to main content
15,891,951 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
QuestionRe: UI Freeze during multithreading. Driving me crazy!!! :) Pin
fharkness15-Mar-07 2:27
fharkness15-Mar-07 2:27 
AnswerRe: UI Freeze during multithreading. Driving me crazy!!! :) Pin
Daniel Grunwald16-Mar-07 2:03
Daniel Grunwald16-Mar-07 2:03 
QuestionGetting #include to work Pin
Stick^14-Mar-07 10:56
Stick^14-Mar-07 10:56 
AnswerRe: Getting #include to work Pin
Christian Graus14-Mar-07 12:16
protectorChristian Graus14-Mar-07 12:16 
GeneralRe: Getting #include to work Pin
Stick^14-Mar-07 13:11
Stick^14-Mar-07 13:11 
QuestionVisual Studio 2005 with Mobile 5.0 sdk Pin
shoguntx14-Mar-07 8:24
shoguntx14-Mar-07 8:24 
AnswerRe: Get users names list Pin
Christian Graus14-Mar-07 9:27
protectorChristian Graus14-Mar-07 9:27 
QuestionBringing application's main form to foreground. Pin
Bartosz Bien13-Mar-07 10:59
Bartosz Bien13-Mar-07 10:59 
Hello,

Under certain conditions, I would like my C++/CLI Windows Forms application (i.e. its main form) to show up maximized in the foreground, even if it is minimized or under other windows. Unfortunately, BringToFront and Focus functions don't help.

I have even imported and called the SetForegroundWindow API, with no effect:

[System::Runtime::InteropServices::DllImport("user32.dll")]<br />
extern bool SetForegroundWindow(IntPtr ^hWnd);


I call the code in Click event of the System::Windows::Forms::NotifyIcon component, and it gets called, but it has no effect.

Unsure | :~


AnswerRe: Bringing application's main form to foreground. Pin
User 58385213-Mar-07 16:45
User 58385213-Mar-07 16:45 
AnswerRe: Bringing application's main form to foreground. Pin
Christian Graus14-Mar-07 9:28
protectorChristian Graus14-Mar-07 9:28 
GeneralRe: Bringing application's main form to foreground. Pin
Bartosz Bien15-Mar-07 1:56
Bartosz Bien15-Mar-07 1:56 
QuestionQuery Regarding Duplication Prevention Pin
Subramaniam s.V.13-Mar-07 3:52
Subramaniam s.V.13-Mar-07 3:52 
AnswerRe: Query Regarding Duplication Prevention Pin
led mike13-Mar-07 5:20
led mike13-Mar-07 5:20 
GeneralRe: Query Regarding Duplication Prevention Pin
Subramaniam s.V.13-Mar-07 5:27
Subramaniam s.V.13-Mar-07 5:27 
GeneralRe: Query Regarding Duplication Prevention Pin
led mike13-Mar-07 5:47
led mike13-Mar-07 5:47 
GeneralRe: Query Regarding Duplication Prevention Pin
Subramaniam s.V.13-Mar-07 5:53
Subramaniam s.V.13-Mar-07 5:53 
GeneralRe: Query Regarding Duplication Prevention Pin
Subramaniam s.V.13-Mar-07 5:30
Subramaniam s.V.13-Mar-07 5:30 
QuestionLink List in C++.NET Pin
Software_Specialist13-Mar-07 1:14
Software_Specialist13-Mar-07 1:14 
AnswerRe: Link List in C++.NET Pin
Maximilien13-Mar-07 3:12
Maximilien13-Mar-07 3:12 
GeneralRe: Link List in C++.NET Pin
Software_Specialist13-Mar-07 3:35
Software_Specialist13-Mar-07 3:35 
GeneralRe: Link List in C++.NET Pin
Maximilien13-Mar-07 4:05
Maximilien13-Mar-07 4:05 
GeneralRe: Link List in C++.NET Pin
Dmitry Khudorozhkov13-Mar-07 6:33
Dmitry Khudorozhkov13-Mar-07 6:33 
AnswerRe: Link List in C++.NET Pin
led mike13-Mar-07 5:18
led mike13-Mar-07 5:18 
AnswerRe: Link List in C++.NET Pin
George L. Jackson13-Mar-07 7:39
George L. Jackson13-Mar-07 7:39 
AnswerRe: Link List in C++.NET Pin
George L. Jackson13-Mar-07 7:58
George L. Jackson13-Mar-07 7:58 

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.