Click here to Skip to main content
16,011,743 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Change color problem ... Pin
Christian Graus14-Mar-01 22:20
protectorChristian Graus14-Mar-01 22:20 
GeneralSome questions about STL ... Pin
Hadi Rezaee14-Mar-01 20:28
Hadi Rezaee14-Mar-01 20:28 
GeneralRe: Some questions about STL ... Pin
Erik Funkenbusch15-Mar-01 11:50
Erik Funkenbusch15-Mar-01 11:50 
GeneralGetting information from a database... Pin
14-Mar-01 17:36
suss14-Mar-01 17:36 
GeneralRe: Getting information from a database... Pin
15-Mar-01 4:45
suss15-Mar-01 4:45 
GeneralObtaining Process info Pin
14-Mar-01 16:45
suss14-Mar-01 16:45 
GeneralRe: Obtaining Process info Pin
James R. Twine15-Mar-01 5:28
James R. Twine15-Mar-01 5:28 
GeneralATL/COM question Pin
Christian Graus14-Mar-01 14:02
protectorChristian Graus14-Mar-01 14:02 
I am writing a paint program, which has the primary function of providing texture editing for a 3D system. I am using CopyData to send the path to an image to my paint program, and to send back a message so the 3D package reloads it. I really would love to learn COM but have had no time, such that all I have done is a simple server that returns a string from a list at random and a dialog that uses this to display a string at random. Not exactly rocket science, but my only experiment in learning some ATL before I got too swamped to continue.

Now I am wondering if it would be possible to build an ATL bitmap 'server', in other words to pass in a HBITMAP, sned a message to the other program ( this would go both ways ) which would tell it to change the image refered to in the message by loading the image held in my server. I believe this should be relatively easy, given my usual misplaced optimism, and I'm hoping you guys (and gals, if applicable) could tell me before hand of any problems or potential disasters awaiting me. I am guessing it would work like the clipboard, ie if I pass in a HBITMAP I lose ownership of it, etc. I actually considered using the clipboard but would prefer not to.

Christian

The content of this post is not necessarily the opinion of my yadda yadda yadda.

To understand recursion, we must first understand recursion.
QuestionHow to excute my program when.... Pin
14-Mar-01 14:00
suss14-Mar-01 14:00 
AnswerRe: How to excute my program when.... Pin
Christian Graus14-Mar-01 14:05
protectorChristian Graus14-Mar-01 14:05 
GeneralBitmap Procedure works - but no Bitmap appears on the screen!! Pin
14-Mar-01 8:52
suss14-Mar-01 8:52 
GeneralRe: Bitmap Procedure works - but no Bitmap appears on the screen!! Pin
Christian Graus14-Mar-01 11:40
protectorChristian Graus14-Mar-01 11:40 
General__stdcall and Member Functions Pin
Rhoam14-Mar-01 8:12
Rhoam14-Mar-01 8:12 
GeneralRe: __stdcall and Member Functions Pin
Chris Losinger14-Mar-01 9:04
professionalChris Losinger14-Mar-01 9:04 
GeneralRe: __stdcall and Member Functions Pin
Erik Funkenbusch14-Mar-01 11:47
Erik Funkenbusch14-Mar-01 11:47 
Questiongantt? Pin
bogdan14-Mar-01 7:48
bogdan14-Mar-01 7:48 
AnswerRe: gantt? Pin
David Cunningham14-Mar-01 12:23
cofounderDavid Cunningham14-Mar-01 12:23 
GeneralExport bitmap to RTF file Pin
14-Mar-01 7:33
suss14-Mar-01 7:33 
QuestionLoading a Bitmap - but how? Pin
14-Mar-01 4:12
suss14-Mar-01 4:12 
AnswerRe: Loading a Bitmap - but how? Pin
14-Mar-01 4:19
suss14-Mar-01 4:19 
AnswerRe: Loading a Bitmap - but how? Pin
14-Mar-01 4:22
suss14-Mar-01 4:22 
GeneralThanks Pin
14-Mar-01 0:14
suss14-Mar-01 0:14 
GeneralNeed to partition a hard disk programming... Pin
Ammar13-Mar-01 20:31
Ammar13-Mar-01 20:31 
QuestionChildframe maximized question? Pin
The Ironduke13-Mar-01 17:56
The Ironduke13-Mar-01 17:56 
AnswerRe: Childframe maximized question? Pin
orcun colak14-Mar-01 6:43
orcun colak14-Mar-01 6:43 

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.