Click here to Skip to main content
14,265,962 members
Rate this:
Please Sign up or sign in to vote.
See more:
How to use picture control in vc++ 6.0. using filedialog set bitmap image in picture control at runtime. (it's difficult to switch from VS2013 to vc++ 6.0). Best if provide code example.

please help
Posted
Comments
CHill60 23-Dec-15 7:53am
   
Unclear.
What have you tried?
Where are you stuck?
Kishor-KW 27-Dec-15 0:34am
   
I am implementing print module and I whant to set logo at runtime. I am new in vc++ 6.0 so don't kw to which property of picture control should I set to select logo (which is I browse through filedialogbox) at runtime.

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

   
Comments
Kishor-KW 27-Dec-15 0:37am
   
I think it is for set picture in static way I want it dynamic way like picture control I can select logo (which is I browse through filedialogbox) at runtime.
Richard MacCutchan 27-Dec-15 3:20am
   
You can modify the control at run time by selecting alternate images into the control. Check the MSDN documentation for all relevant functions.
Kishor-KW 27-Dec-15 4:17am
   
I searched but I did not got any related answer, Please help.
Kishor-KW 27-Dec-15 4:50am
   
it is showing mix from 6.0 to vs 2015
Kishor-KW 27-Dec-15 5:44am
   
if possible then plz provide code
Kishor-KW 27-Dec-15 7:05am
   
please provide code for this it is very urgent.I am asking for code because I am using vc++ 6.0 first time. please help
Richard MacCutchan 27-Dec-15 7:06am
   
Sorry, this is not a code writing service.
Richard MacCutchan 27-Dec-15 7:15am
   
No it is not very urgent. If you aspire to be a developer then you need to learn how to study the documentation and get familiar with all aspects of the language and framework you plan to work in. You should forget about VC 6 and get one of the latest free versions of Visual Studio from Microsoft.
Kishor-KW 27-Dec-15 8:07am
   
yes, you are right but my head assign me this job of print module which is in software implemented in vc++ 6.0 and I have to complete it today only. Thats why I said urgent. but its ok I will go through documentation I try to implement it. Thank you for help.
Richard MacCutchan 27-Dec-15 10:18am
   
I have no idea what your original question has to do with 'print module'.
Kishor-KW 27-Dec-15 13:19pm
   
print module is module in which we generate one Text document which is nothing but Report and on which I want to set/load a logo as per the company for which the report will be generated so my question is same that how to load that logo in picture control dynamically, then I will generate the report document,but first I have to set that logo in picture control.
Richard MacCutchan 28-Dec-15 3:50am
   
I think you are going about this in the wrong way. You can draw your picture direct onto the document without needing a picture control. Take a look at drawing text and images at https://msdn.microsoft.com/en-us/library/dd145203(v=vs.85).aspx.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100