473,399 Members | 2,478 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

insert jpg picture in dialog

How do you insert a jpg picture from file on to an area of a dialog box

I can do this using picturebox to insert a jpg picture onto a form, but the
picturebox control is not available for a dialog box

Thanks

--
Patrick
Nov 17 '05 #1
6 1776
try to save the handle to the dailog on run time by pointer
and then use the API for inserting a jpg picture .

"Patrick" wrote:
How do you insert a jpg picture from file on to an area of a dialog box

I can do this using picturebox to insert a jpg picture onto a form, but the
picturebox control is not available for a dialog box

Thanks

--
Patrick

Nov 17 '05 #2
you also can write class DlgPicture with inheritance the dailog class and in
the construction insert the picture.
there is API for inserting picture.

"Patrick" wrote:
How do you insert a jpg picture from file on to an area of a dialog box

I can do this using picturebox to insert a jpg picture onto a form, but the
picturebox control is not available for a dialog box

Thanks

--
Patrick

Nov 17 '05 #3
try to save the handle to the dailog on run time by pointer
and then use the API for inserting a jpg picture .

"Patrick" wrote:
How do you insert a jpg picture from file on to an area of a dialog box

I can do this using picturebox to insert a jpg picture onto a form, but the
picturebox control is not available for a dialog box

Thanks

--
Patrick

Nov 17 '05 #4
you also can write class DlgPicture with inheritance the dailog class and in
the construction insert the picture.
there is API for inserting picture.

"Patrick" wrote:
How do you insert a jpg picture from file on to an area of a dialog box

I can do this using picturebox to insert a jpg picture onto a form, but the
picturebox control is not available for a dialog box

Thanks

--
Patrick

Nov 17 '05 #5

Patrick wrote:
*How do you insert a jpg picture from file on to an area of a dialog
box

I can do this using picturebox to insert a jpg picture onto a form,
but the
picturebox control is not available for a dialog box

Thanks

--
Patrick *


Hi Mr. Patrick,
Have a look at this class :-
http://www.codeproject.com/bitmap/extendedbitmap2.asp

--
thatsalok
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Nov 17 '05 #6

Patrick wrote:
*How do you insert a jpg picture from file on to an area of a dialog
box

I can do this using picturebox to insert a jpg picture onto a form,
but the
picturebox control is not available for a dialog box

Thanks

--
Patrick *


Hi Mr. Patrick,
Have a look at this class :-
http://www.codeproject.com/bitmap/extendedbitmap2.asp

--
thatsalok
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Nov 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Sandra Setz | last post by:
Hi, Is it possible to assign the Picture property of a picturebox to the Picture property of an image control? I use an invisble picturebox to make some changes to a picture, but I want to...
0
by: Patrick | last post by:
How do you insert a jpg picture from file on to an area of a dialog box I can do this using picturebox to insert a jpg picture onto a form, but the picturebox control is not available for a...
2
by: Emil | last post by:
Hi, if you open the link below and click on "Show Me" and then "Toggle Transition" Button you will see a wonderfull fade in / fade out transition of 2 pictures. ...
1
by: ApexData | last post by:
I have an ImageBox with PictureType set to LINK. I have a string with a path strPicFolderPath = "C:\Pictures" In the OnCurrent event of the form I have this code: If...
1
by: blazingmavrick | last post by:
My problem consits of the following:- i am creating mulitple picturebox's, when the user double clicks on the picture box it opens the opendialog box to load a picture (jpeg only) into the picture...
3
by: andrewtayloruk | last post by:
I'm a newbie when it come to things php and i'm having a bit of trouble. I'm trying to insert data from an html form into a mysql database and can't get it to work. Just a few bits about my...
3
by: abspring | last post by:
Hi I am a technology teacher/support person at an elementary school. I have created a database in which I need to insert a picture for each of our 650+ students. I have a table of student...
3
by: JFKJr | last post by:
Hello everyone, I am trying to insert a picture in an excel spreadsheet cell using Access VBA. The following excel VBA code is working perfectly fine and I am able to insert picture in "A1" cell....
1
oranoos3000
by: oranoos3000 | last post by:
hi i have an error with enter record to table in database(mysql) structure of my table is as follow - phpMyAdmin SQL Dump -- version 2.11.6 -- http://www.phpmyadmin.net -- -- Host:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.