I have an AVI being displayed in an Image with the TRANSPARENT flag, and it's only transparent on Windows XP with XPStyle on. What do I have to do to get a transparent Animate?
InstallOptionsEx
368 posts
Reproduced. I just can't understand, it works for some avi, but not for others. Does your avi have a sound channel in it and is of type "MS-RLE" of 8-bits? I've tested two avi files, one with sound w/ 8-bits "MS-RLE" type, and another without, to see if transparency went ok. The one w/ sound had this transparency problem.
Maybe the new version of the control for WinXP fixes this problem. This is not mentioned in MSDN.
Maybe the new version of the control for WinXP fixes this problem. This is not mentioned in MSDN.
I'm looking at properties on the file in Windows XP and on the summary tab under "Video" it says it is an 8-bit MS-RLE, 4fps 3kbps, and under "Audio" says "4 seconds". I used the "AVIEdit" tool from some oldish version of the windows SDK to create the AVI. Does this help?
Edit: Made a mistake, that's the wrong AVI, the one above works fine. The one that doesn't work says: Under video, the correct avi is 15fps, 1164kbps, 24 bit sample size, uncompressed. Under audio it says "2 seconds". I think I need to try converting it to MS-RLE. A 3MB AVI for 2 seconds of video is just stupid.
Edit: Made a mistake, that's the wrong AVI, the one above works fine. The one that doesn't work says: Under video, the correct avi is 15fps, 1164kbps, 24 bit sample size, uncompressed. Under audio it says "2 seconds". I think I need to try converting it to MS-RLE. A 3MB AVI for 2 seconds of video is just stupid.
I managed to convert it to RLE and it worked fine. The problem was I needed to convert it to 8-bit, otherwise the codec wouldn't appear. So I opened the uncompressed avi in quicktime pro, exported it as a uncompressed avi in 8-bit color, load it back into aviedit, and exported it to RLE there. Thanks quicktime!
I hate asking questions that I feel I should have been able to find the answer to, but I couldn't, so I have to ask.
Is there a way to change the cursor to a Hand, when it is over an Image control using a GIF image?
Basically I'm using the Image control with a GIF image, and the NOTIFY=ONCLICK event to call the leave/validate function which in turn will open up a link. But I would like the cursor to be a hand, so that people realize the image is clickable.
Is there a way to change the cursor to a Hand, when it is over an Image control using a GIF image?
Basically I'm using the Image control with a GIF image, and the NOTIFY=ONCLICK event to call the leave/validate function which in turn will open up a link. But I would like the cursor to be a hand, so that people realize the image is clickable.
Yes, I saw your plug-in source code one time, but I didn't got the inclusion to work. I might try to do that again later, or you could submit a patch, if you can read a big amount of code... Just search for IMAGE_TYPE_OLE and you can find the current OLE implementation I have. I think your code is somewhat based on that.
Attached short 'page' sample shows how IImgCtx may be used: ownerdraw control and paint on wm_drawitem. Both Ole and Ctx support transparency, so you can skip 'window region' part for them.
I also updated my plug-in - it's 'the best' version was lost during last archive crash.
Attached short 'page' sample shows how IImgCtx may be used: ownerdraw control and paint on wm_drawitem. Both Ole and Ctx support transparency, so you can skip 'window region' part for them.
I also updated my plug-in - it's 'the best' version was lost during last archive crash.
Is there a way to change the cursor to a Hand, when it is over an Image control using a GIF image?Try NotifyCursor=HAND.
Now, about the IImgCtx interface: is there anywhere a list of image types supported by the older IE versions and when this interface was started to be used on IE? This is just to know what image types it adds.
(Found in russian): It appeared in Internet Explorer 4.0 and supports BMP, GIF, JPEG, ICO, WMF, EMF, PNG, XBM, CUR, TIFF (may be others).
About some tiff limitations I read here http://codeproject.com/bitmap/JianImgCtxDecoder.asp
About some tiff limitations I read here http://codeproject.com/bitmap/JianImgCtxDecoder.asp
Thanks. I'm not working on the plug-in now, but when I will, I'll implement this.
Hi - I've just downloaded the latest version of IOEx from the link given above, and I have the problem with the Welcome and Finish pages not displaying correctly. Was this not fixed? Do I have the wrong version of the file?
Hmmm... There are probably 2 problems in the latest version:
- some problem when using "Text" INI key name for "Image" controls.
- trying to color the dialog itself - which is probably unhandled by the plug-in at all.
I still couldn't even start to work on features for next version though, so I can't expect it to be released even on next month. You should pretty much try to go around the problems, but right now I can't say much than just that.
- some problem when using "Text" INI key name for "Image" controls.
- trying to color the dialog itself - which is probably unhandled by the plug-in at all.
I still couldn't even start to work on features for next version though, so I can't expect it to be released even on next month. You should pretty much try to go around the problems, but right now I can't say much than just that.
FileRequest - Text & Button example?
I can't seem to find an example anywhere of an InstallOptionsEx Text & Button FileRequest dialog. Could someone please post an example .ini file? Thanks!
I can't seem to find an example anywhere of an InstallOptionsEx Text & Button FileRequest dialog. Could someone please post an example .ini file? Thanks!
[Field 1]
Type=Text
Left=0
Right=100
Top=0
Bottom=10
[Field 2]
Type=Button
Text=...
Left=110
Right=125
Top=0
Bottom=10
Flags=OPEN_FILEREQUEST
RefFields=1
Notify=ONCLICK
Thanks Deguix, you're the man!
I converted from IO to IOex, and now have two problems:
1. For some reason the file Filter isn't working for me. It truncates the last character of the name, showing "DB Config Fil", and all files are still visible. I've tried lots of different examples, including copying directly from the readme.
[Field 1]
Type=Text
Left=8
Right=283
Top=21
Bottom=34
[Field 2]
Type=Button
Text=Browse
Left=192
Right=242
Top=68
Bottom=84
Flags=OPEN_FILEREQUEST
Filter=DB Config File|*.xml
RefFields=1
Notify=ONCLICK
2. When a file is selected and Open is clicked, the Installer goes to the next page immediately, instead of going back to the DBConfigXML custom page and waiting for the user to click Install.
Function DBConfigXML
!insertmacro MUI_HEADER_TEXT "$(TEXT_IO_TITLE)" "$(TEXT_IO_SUBTITLE)"
Push $R0
${Plugin}::dialog $PLUGINSDIR\DBConfigXML.ini
Pop $R0
FunctionEnd
Function ValidateDBConfigXML
ReadINIStr $DB_CONFIG_FILE "$PLUGINSDIR\DBConfigXML.ini" "Field 1" "State"
IfFileExists "$DB_CONFIG_FILE" OK
MessageBox MB_OK|MB_ICONSTOP 'File does not exist.'
Abort
OK:
FunctionEnd
Thanks in advance.
I converted from IO to IOex, and now have two problems:
1. For some reason the file Filter isn't working for me. It truncates the last character of the name, showing "DB Config Fil", and all files are still visible. I've tried lots of different examples, including copying directly from the readme.
[Field 1]
Type=Text
Left=8
Right=283
Top=21
Bottom=34
[Field 2]
Type=Button
Text=Browse
Left=192
Right=242
Top=68
Bottom=84
Flags=OPEN_FILEREQUEST
Filter=DB Config File|*.xml
RefFields=1
Notify=ONCLICK
2. When a file is selected and Open is clicked, the Installer goes to the next page immediately, instead of going back to the DBConfigXML custom page and waiting for the user to click Install.
Function DBConfigXML
!insertmacro MUI_HEADER_TEXT "$(TEXT_IO_TITLE)" "$(TEXT_IO_SUBTITLE)"
Push $R0
${Plugin}::dialog $PLUGINSDIR\DBConfigXML.ini
Pop $R0
FunctionEnd
Function ValidateDBConfigXML
ReadINIStr $DB_CONFIG_FILE "$PLUGINSDIR\DBConfigXML.ini" "Field 1" "State"
IfFileExists "$DB_CONFIG_FILE" OK
MessageBox MB_OK|MB_ICONSTOP 'File does not exist.'
Abort
OK:
FunctionEnd
Thanks in advance.
1. For some reason the file Filter isn't working for me. It truncates the last character of the name, showing "DB Config Fil", and all files are still visible. I've tried lots of different examples, including copying directly from the readme.When I comeback for IOEx development, I'll look at it.
2. When a file is selected and Open is clicked, the Installer goes to the next page immediately, instead of going back to the DBConfigXML custom page and waiting for the user to click Install.This is normal because a notification flag is used. You should use abort in the custom page function when this is used.
Custom page bitmap disappeared after replacing IO with IOEx
Hi,
I've problem with bitmaps on custom pages.
I've downloaded InstallOptionsEx plug-in and saved InstallOptionsEx.dll on InstallOptions.dll in NSIS directory.
After that images on custom pages are not displayed.
With InstallOptions.dll installator worked properly.
Any help will be appreciated.
Hi,
I've problem with bitmaps on custom pages.
I've downloaded InstallOptionsEx plug-in and saved InstallOptionsEx.dll on InstallOptions.dll in NSIS directory.
After that images on custom pages are not displayed.
With InstallOptions.dll installator worked properly.
Any help will be appreciated.
Because futuraly I want to patch InstallOptions with changes I mostly developed, I'll be working only on InstallOptionsEx for a while, and no other projects will be involved.
All those bugs were confirmed and all are my fault. Damn. These bugs are the ones confirmed:
- Image controls bug: Some image types don't work - bitmaps for example. Internal problems can range from not recognizing the file as image and not identifying the image type as to be destroyed.
- Filter key name bug: Last character is cropped. Internal problem is the replacement of last char with "\0".
- Dialog coloring bug: Since IOEx 2.4.1 beta 6 (version which custom drawn controls were implemented). I didn't check this one out yet.
All those bugs were confirmed and all are my fault. Damn. These bugs are the ones confirmed:
- Image controls bug: Some image types don't work - bitmaps for example. Internal problems can range from not recognizing the file as image and not identifying the image type as to be destroyed.
- Filter key name bug: Last character is cropped. Internal problem is the replacement of last char with "\0".
- Dialog coloring bug: Since IOEx 2.4.1 beta 6 (version which custom drawn controls were implemented). I didn't check this one out yet.
I Need to use InstallOptionsEx, but unfortunately, with the lastest version, the background don't work correctly and the bitmaps are not draw.
But you know it already.
Thus can you give online the lastest version where this two bugs did not exist?
Thank you in advance.
But you know it already.
Thus can you give online the lastest version where this two bugs did not exist?
Thank you in advance.
InstallOptionsEx 2.4.4 beta 2 - DLL + Source
Sorry about that. New Release:
I actually have almost no interest in an old project, which was the inspiration for all of those changes in this plugin, so you can only expect me to don't implement much at all to this plugin anymore. Maybe someone else might be interested in continuing this on, principally because my needs were realized already, and the TODO list contains suggestions - which are not always what the developer needs. I couldn't even adapt myself to newer plug-in versions, and my programs still use older versions of my own plug-in.
Sorry about that. New Release:
- Fixed: Image controls implementation was coded poorly.
- Fixed: Dialog box now can be colored (bug introduced IOEx 2.4.1 beta 6).
- Fixed: Filter key value had last character chop down.
- Fixed: Filter key value's first item in array is the only one detected.
- Fixed: Filter key value can overrun the buffer by one byte besides the "BufferSize" limit for characters.
- Added: Ability to convert "\\" to "\" in lists.
- Fixed: The ListItems value name for ComboBox and DropList controls can't have the combination "\\" and "\|". This needs to be verified.
I actually have almost no interest in an old project, which was the inspiration for all of those changes in this plugin, so you can only expect me to don't implement much at all to this plugin anymore. Maybe someone else might be interested in continuing this on, principally because my needs were realized already, and the TODO list contains suggestions - which are not always what the developer needs. I couldn't even adapt myself to newer plug-in versions, and my programs still use older versions of my own plug-in.
Documentation overhaul
Perhaps you should consider changing the documentation layout-wise - increase the indentation on sub-sections etc becuase the current version can be a bit hard to read.
I've attached an updated basic.js file that makes the text areas padded by 0.2in. Only change was:
nice plugin 🙂
-dandaman32
Perhaps you should consider changing the documentation layout-wise - increase the indentation on sub-sections etc becuase the current version can be a bit hard to read.
I've attached an updated basic.js file that makes the text areas padded by 0.2in. Only change was:
document.write('<div id="' + pszDivisionPrefix + nTable + '" class=sc><table ');changed todocument.write('<div id="' + pszDivisionPrefix + nTable + '" class=sc><table style="padding: 0.2in;" ');hope this helpsnice plugin 🙂
-dandaman32
The new version does not work better :-(
Look at the WelcomeFinish example.
Look at the WelcomeFinish example.
Hmmm... shit! I forgot to post the dll of the newer version! Fixed. Sorry for the forgotten new dll file.
Thank you very much
There are two other bug:
The checkBox, radiobutton, textbox (and maybe others) cannot have their background color and their text color changed by the SetCtlColors instruction.
I have also an other problem with a page which use a ListBox:
It post a MessageBox with the title "error" with the list of the items of the messagebox. If I click on ok, it repost the same messagebox but with the first character in less and so on until there do not remain any character and it jump the page... This page work well with the original InstallOption.
The checkBox, radiobutton, textbox (and maybe others) cannot have their background color and their text color changed by the SetCtlColors instruction.
I have also an other problem with a page which use a ListBox:
It post a MessageBox with the title "error" with the list of the items of the messagebox. If I click on ok, it repost the same messagebox but with the first character in less and so on until there do not remain any character and it jump the page... This page work well with the original InstallOption.
I found a problem with the new DLL that has been upload today, the real 2.44 beta2, I used IOEx to display the installer icon, and it doesn't work anymore, the only thing that works is to display an external icon using the text field in the ini, but i cant use the default installer icon(internal)
I worked without problem with the previous IOEx version.
I worked without problem with the previous IOEx version.
InstallOptionsEx 2.4.4 beta 2 PB 1 - DLL
I released the Post Build #1 with quick fixes for the bugs discussed.
I've also implemented dandaman32's suggestion of padding to docs text tables - I used 2% of indentation for text tables (instead of 0.2in) in the style.css file -> better for smaller resolutions. Still, I don't know how it would look in a 640x480 resolution.
InstallOptionsEx wiki page
I released the Post Build #1 with quick fixes for the bugs discussed.
I've also implemented dandaman32's suggestion of padding to docs text tables - I used 2% of indentation for text tables (instead of 0.2in) in the style.css file -> better for smaller resolutions. Still, I don't know how it would look in a 640x480 resolution.
InstallOptionsEx wiki page
Thanks for the quick fix...
Thanks for the fix of my bugs.
Still, I don't know how it would look in a 640x480 resolution.Nobody uses elinks anymore 🙂
I have a linux server that runs maybe a pentium 200mhz and a 2.5gig hd and trustix 3.0 rc1 ...the only time i use gnome 2.10 is when i'm testing its website with firefox, and even then the video runs at 1024x768.
-dandaman32
Thanks for the quick fix.../Thanks for the fix of my bugs.After that, I had to make up for my mistake somewhere 🙂.
and even then the video runs at 1024x768That's the resolution I thought about when I used those precentages, so it won't have problems.