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

Managed C++/CLI

 
AnswerRe: How best to do MDI Pin
igor196018-Nov-03 8:13
igor196018-Nov-03 8:13 
AnswerRe: How best to do MDI Pin
Jerry Hammond20-Nov-03 9:26
Jerry Hammond20-Nov-03 9:26 
GeneralRe: How best to do MDI Pin
LasVegasGuy20-Nov-03 11:29
LasVegasGuy20-Nov-03 11:29 
GeneralRe: How best to do MDI Pin
Jerry Hammond20-Nov-03 17:28
Jerry Hammond20-Nov-03 17:28 
GeneralRe: How best to do MDI Pin
LasVegasGuy25-Nov-03 13:09
LasVegasGuy25-Nov-03 13:09 
GeneralMemory cast problem Pin
Visuall18-Nov-03 4:42
Visuall18-Nov-03 4:42 
QuestionHow to get pointer to managed class ? Pin
djbreizh17-Nov-03 22:37
djbreizh17-Nov-03 22:37 
GeneralAbout Get Data from Clipboard Pin
RafMar14-Nov-03 0:16
RafMar14-Nov-03 0:16 
I know that I have Data in the clipboard with the DataFormat::MetafilePict.
But I can't get it. My code is more or less the next:

/////////////////////////////////////////////////////////////
if ( iData->GetDataPresent( DataFormats::MetafilePict) )
{
System::Object * obj;
System::Drawing::Imaging::Metafile * pMetafile;

obj = Clipboard::GetDataObject()>GetData(System::Windows::Forms::DataFormats::MetafilePict ); pMetafile = dynamic_cast< System::Drawing::Imaging::Metafile * > (obj);
}
/////////////////////////////////////////////////////////

Obviusly in the Debug, I enter inside the first if condition, so the code executes but the System::Object obj can't keep the data of clipboard and keeps a undefined value after the asignation.

It seems a contradiction, isn't it ? Confused | :confused:

Can anybody say me anything about get MetafilePict Data from Clipboard ?

Advanced Thanks, everybody.;)
QuestionManaged code on older OS, removing managed code? Pin
jack - Anonymous13-Nov-03 16:07
sussjack - Anonymous13-Nov-03 16:07 
AnswerRe: Managed code on older OS, removing managed code? Pin
jack - Anonymous13-Nov-03 20:04
sussjack - Anonymous13-Nov-03 20:04 
QuestionIs the .net framework part of the OS? Pin
LasVegasGuy12-Nov-03 11:37
LasVegasGuy12-Nov-03 11:37 
AnswerRe: Is the .net framework part of the OS? Pin
John M. Drescher12-Nov-03 12:04
John M. Drescher12-Nov-03 12:04 
GeneralRe: Is the .net framework part of the OS? Pin
LasVegasGuy13-Nov-03 12:41
LasVegasGuy13-Nov-03 12:41 
GeneralRe: Is the .net framework part of the OS? Pin
Jerry Hammond13-Nov-03 22:18
Jerry Hammond13-Nov-03 22:18 
GeneralRe: Is the .net framework part of the OS? Pin
Tom Archer14-Nov-03 3:50
Tom Archer14-Nov-03 3:50 
GeneralRe: Is the .net framework part of the OS? Pin
LasVegasGuy14-Nov-03 9:26
LasVegasGuy14-Nov-03 9:26 
GeneralRe: Is the .net framework part of the OS? Pin
J. Dunlap14-Nov-03 9:50
J. Dunlap14-Nov-03 9:50 
GeneralRe: Is the .net framework part of the OS? Pin
Tom Archer14-Nov-03 10:00
Tom Archer14-Nov-03 10:00 
GeneralRe: Is the .net framework part of the OS? Pin
Jerry Hammond14-Nov-03 12:00
Jerry Hammond14-Nov-03 12:00 
GeneralRe: Is the .net framework part of the OS? Pin
J. Dunlap14-Nov-03 12:17
J. Dunlap14-Nov-03 12:17 
GeneralRe: Is the .net framework part of the OS? Pin
LasVegasGuy15-Nov-03 14:01
LasVegasGuy15-Nov-03 14:01 
GeneralRe: Is the .net framework part of the OS? Pin
J. Dunlap15-Nov-03 14:37
J. Dunlap15-Nov-03 14:37 
GeneralRe: Is the .net framework part of the OS? Pin
LasVegasGuy15-Nov-03 15:22
LasVegasGuy15-Nov-03 15:22 
GeneralRe: Is the .net framework part of the OS? Pin
Tom Archer15-Nov-03 15:41
Tom Archer15-Nov-03 15:41 
GeneralAbout images convertions Pin
Anonymous12-Nov-03 4:10
Anonymous12-Nov-03 4:10 

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.