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

Managed C++/CLI

 
AnswerRe: GetProcAddress() Pin
Giorgi Dalakishvili19-Jun-07 7:02
mentorGiorgi Dalakishvili19-Jun-07 7:02 
QuestionNeed help!! Pin
faradgi18-Jun-07 18:36
faradgi18-Jun-07 18:36 
AnswerRe: Need help!! Pin
Christian Graus20-Jun-07 16:39
protectorChristian Graus20-Jun-07 16:39 
QuestionsendASPI32Command returns SS_ASPI_IS_BUSY Pin
aks.18-Jun-07 1:54
aks.18-Jun-07 1:54 
AnswerRe: sendASPI32Command returns SS_ASPI_IS_BUSY Pin
Christian Graus18-Jun-07 12:27
protectorChristian Graus18-Jun-07 12:27 
QuestionHandling WinAPI windows (by HWND) in Managed C++ Pin
matmus16-Jun-07 4:19
matmus16-Jun-07 4:19 
AnswerRe: Handling WinAPI windows (by HWND) in Managed C++ Pin
Mark Salsbery16-Jun-07 7:31
Mark Salsbery16-Jun-07 7:31 
GeneralRe: Handling WinAPI windows (by HWND) in Managed C++ Pin
matmus16-Jun-07 19:15
matmus16-Jun-07 19:15 
Mark Salsbery wrote:
At first thought,
there's alot of reasons it wouldn't work well, especially with an MFC HWND...


To be honest... now I'm having these thoughts (I still hope that it's possible though, my faith is just a bit weaker Wink | ;) - WinApi is not assembly language after all, and what I need is not a 'full object' (meaning ::Form) - I was thinking of it rather as some kind of a wrapper, to call functions on (thought it'll be easier to use embedded .NET/Managed C++ functions than go down to API level).
BTW: why do you think, that MFC HWND is somehow special? In my opinion windows after creation are indistinguishable. Till now I was convinced that (in MFC) i can call FromHandle() on every window (even windows, which I don't own) - now I'm not so sure of that.
Wink | ;)

Since I've got no answer so far, I've slightly changed my approach.
Basically the question still is:
How to place this window (having only its HWND) as a new tab page in TabControl created via Managed C++ /I get the window by HWND and have to handle/display it somehow in my application. Creation/destruction ow this window is performed by the plugin itself/

But... I no longer care if I need to convert HWND to System::Control or do the exact opposite: convert TabPage to HWND and use API functions to bind them). I just need to get it done.. somehow Wink | ;) (if it involves mixing managed and unmanaged code - so be it Smile | :) however I still hope that this is avoidable ). I've considered even converting .NET object to MFC, still I don't even know if it's possible, not to mention the 'howto' part.

Could someone point me at a usable piece of code?

Thanks in advance,
GeneralRe: Handling WinAPI windows (by HWND) in Managed C++ Pin
Mark Salsbery17-Jun-07 8:35
Mark Salsbery17-Jun-07 8:35 
QuestionLocalizing some extern/global vriables? Pin
granshah @ eVisionISF16-Jun-07 1:47
granshah @ eVisionISF16-Jun-07 1:47 
Questionhow can i get the ref of multi dimension array Pin
Ahmed Ismail Mohamed15-Jun-07 22:46
Ahmed Ismail Mohamed15-Jun-07 22:46 
QuestionManaged C++ with No touch Deployment Pin
jeongmo14-Jun-07 11:26
jeongmo14-Jun-07 11:26 
QuestionDoes a program have more than 1 process in task manager? Pin
DotNetUser5414-Jun-07 8:22
DotNetUser5414-Jun-07 8:22 
AnswerRe: Does a program have more than 1 process in task manager? Pin
Mark Salsbery14-Jun-07 9:20
Mark Salsbery14-Jun-07 9:20 
GeneralRe: Does a program have more than 1 process in task manager? Pin
led mike14-Jun-07 10:50
led mike14-Jun-07 10:50 
GeneralRe: Does a program have more than 1 process in task manager? Pin
Mark Salsbery14-Jun-07 11:26
Mark Salsbery14-Jun-07 11:26 
QuestionWhy doesn't this work? Pin
myhanguk14-Jun-07 2:16
myhanguk14-Jun-07 2:16 
AnswerRe: Why doesn't this work? Pin
prasad_som14-Jun-07 3:01
prasad_som14-Jun-07 3:01 
AnswerRe: Why doesn't this work? Pin
Mark Salsbery14-Jun-07 9:28
Mark Salsbery14-Jun-07 9:28 
QuestionRe: Why doesn't this work? Pin
Ahmed Ismail Mohamed15-Jun-07 22:50
Ahmed Ismail Mohamed15-Jun-07 22:50 
QuestionSerialize with BinaryFormatter Pin
hansipet14-Jun-07 0:56
hansipet14-Jun-07 0:56 
QuestionBooks for Managed C++ Pin
vibindia13-Jun-07 16:58
vibindia13-Jun-07 16:58 
AnswerRe: Books for Managed C++ Pin
Christian Graus14-Jun-07 12:46
protectorChristian Graus14-Jun-07 12:46 
Questionreading XML using SAX method? Pin
andyspartyshop13-Jun-07 5:16
andyspartyshop13-Jun-07 5:16 
AnswerRe: reading XML using SAX method? Pin
Christian Graus14-Jun-07 12:47
protectorChristian Graus14-Jun-07 12:47 

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.