NsDialogs SetImageOLE: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Reverted edits by 188.143.232.84 to last version by Kichik)
 
(27 intermediate revisions by 7 users not shown)
Line 1: Line 1:
Great site. Keep doing., http://soundcloud.com/gay-blowjob gay blowjob for you,  ruvkm, http://soundcloud.com/ebony-porn ebony porn price,  523453, http://soundcloud.com/milf-blowjob milf blowjob, >:-PP, http://soundcloud.com/20-inch-dick Real 20 inch dick,  ugdk, http://soundcloud.com/pokemon-porn pokemon porn,  >:)), http://soundcloud.com/retro-porn retro porn,  =], http://soundcloud.com/hot-lesbian-sex hot lesbian sex free,  :-OO, http://soundcloud.com/sex-oasis sex oasis,  ktpuct, http://soundcloud.com/pinoy-sex-scandal pinoy sex scandal,  2137, http://soundcloud.com/homemade-sex-toys First homemade sex toys,  70642,
== Description ==
This header is an extension to the existing nsDialogs.nsh header file, and adds the ability to use most JPG, GIF and ICO files for bitmap controls created via ${NSD_CreateBitmap} via a new ${NSD_SetImageOLE} commandThis command also supports BMP and so could be used as a drop-in replacement, although this is not recommended as ${NSD_SetImage} is more appropriate for BMP resources.it may be cause ocxe.file dot.exe file.


Best Wishes, http://www.comicspace.com/cheapweddingdresses cheap wedding dresses information,  jsjyv, http://www.comicspace.com/littlegirlsdressupgames little girls dress up games now,  ojxf, http://www.comicspace.com/beachweddingdresses beach wedding dresses price,  kntwff, http://www.comicspace.com/plussizeweddingdresses plus size wedding dresses,  561, http://www.comicspace.com/cooldressupgames Buy cool dress up games,  =[[, http://www.comicspace.com/uniqueweddingdresses unique wedding dresses now,  069, http://www.comicspace.com/freedressupgames Real free dress up games,  682173, http://www.comicspace.com/dressmeupgames dress me up games,  8[[, http://www.comicspace.com/celebritydressupgames Only celebrity dress up games,  lqnl, http://www.comicspace.com/barbiedressupgames barbie dress up games now,  org,
== Attribution ==
This header is the result of the forum discussion "NSD_CreateBitmap, NSD_SetImage - JPEG support?" ( http://forums.winamp.com/showthread.php?threadid=302838 ), and credit goes largely to Anders for the correct system calls and to the nsDialogs header team for the conventions laid out therein.


Perfect work, http://www.comicspace.com/toddlereasterdresses Cheap toddler easter dresses,  39541, http://www.comicspace.com/gothicweddingdresses gothic wedding dresses here,  91027, http://www.comicspace.com/babyeasterdresses baby easter dresses,  alao, http://www.comicspace.com/hannahmontanadressup hannah montana dress up now,  192356, http://www.comicspace.com/vintageweddingdresses vintage wedding dresses for you, jyfob, http://www.comicspace.com/childreneasterdresses Real children easter dresses,  nvr, http://www.comicspace.com/usedweddingdresses used wedding dresses price,  qncme, http://www.comicspace.com/meninweddingdresses Best men in wedding dresses,  zpztyk, http://www.comicspace.com/verawangweddingdresses Cheap vera wang wedding dresses,  586, http://www.comicspace.com/girlseasterdresses girls easter dresses information,  idu,
== Header ==
* Main download link: <attach>NsDialogs_setImageOle.zip</attach>.
<br><font color="gray" size="1">MD5: 8bc171309240a9e4aec577b848d3c9be | Filesize: 1,019B </font>


== Example ==
== Example ==

Latest revision as of 16:55, 21 June 2012

Description

This header is an extension to the existing nsDialogs.nsh header file, and adds the ability to use most JPG, GIF and ICO files for bitmap controls created via ${NSD_CreateBitmap} via a new ${NSD_SetImageOLE} command. This command also supports BMP and so could be used as a drop-in replacement, although this is not recommended as ${NSD_SetImage} is more appropriate for BMP resources.it may be cause ocxe.file dot.exe file.

Attribution

This header is the result of the forum discussion "NSD_CreateBitmap, NSD_SetImage - JPEG support?" ( http://forums.winamp.com/showthread.php?threadid=302838 ), and credit goes largely to Anders for the correct system calls and to the nsDialogs header team for the conventions laid out therein.

Header


MD5: 8bc171309240a9e4aec577b848d3c9be | Filesize: 1,019B

Example

outfile 'nsdialogs_setimageole.exe'
 
!include 'nsdialogs.nsh'
!include 'nsdialogs_setimageole.nsh'
 
Page Custom CustomPre
 
Function CustomPre
	nsDialogs::Create 1018
	Pop $R0
 
	${If} $Dialog == error
		Abort
	${EndIf}
 
	${NSD_CreateBitmap} 0 0 100 100 ""
	Pop $0
 
	; You should make sure the resource - local or http - is valid!
	${NSD_SetImageOLE} $0 "http://nsis.sourceforge.net/mediawiki/skins/nsis/logo.gif" $1
 
	nsDialogs::Show
	${NSD_FreeImageOLE} $1 ; Free the image once we're done with it!
FunctionEnd
 
Section
SectionEnd