ISSprite

DLL ISSprite 0.0.7.48 #32

Нет прав для скачивания

ffmla

Участник
^^ Cannot remember the particular error code,but i faced it with some deinitialization functions.
2.If you used latest Issprite.iss file with old library(issprite.dll),then it immediately shows on each function.

PS: @Admin .site not opening due to security certificate expired.(High security Risk -alert message arrived..!)
 

ffmla

Участник
@ffmla, something like this
Код:
hTask:= spBtnCreateButton(WizardForm.Handle, ExpandConstant('{tmp}\checkbox1.png'), ScaleX(40), ScaleY(245), ScaleX(256), ScaleY(13), BTN_CHECKBOXEX, 0);
spBtnSetText(hTask, CustomMessage('TaskInstallSoft'));
spBtnSetFontColor(hTask, $FFFFFF, clSilver, $9F0B1A, clGray);
spBtnSetEvent(hTask, btnMouseClickEvent, WrapButtonProc(@BtnEvents, 1));
Greetings...!
Again i am Stuck in ISSprite's checkbox method
.
Is there anyway to find checkbox hTask is checked or not.? Like native inno checkbox.
ie.
Код:
if Cuscheckbox.checked = True then **** else ****;
 

Shegorat

Lord of Madness
Администратор
@ffmla, functions spBtnGetChecked, spBtnSetChecked
Код:
if (spBtnGetChecked(hTask) != 0) then *** else ***;
 

Nemko

Дилетант
Модератор
ffmla,
if (spBtnGetChecked(hTask) != 0) then *** else ***;
this is a hybrid of C ++ syntax and Pascal. :D

There was an omission in the modules that I posted with CheckBoxEx. To work CheckBoxEx, you need to receive and send integer values, not Boolean (in spBtnGetChecked, spBtnSetChecked). Below is an example of a module and code:
 

Вложения

  • 25.4 KB Просмотры: 29

ffmla

Участник
В свободное время я переписываю ISSprite. Точнее пишу с нуля. Там будет другой движок и немного другая идеология. Постараюсь сохранить совместимость с текущей версией.
Собственно возник вопрос - какие дополнительные функции и возможности вам требуются?
Features Request-3:- :pleasantry:

if possible kindly add following things.
  1. Alignment for the labels {ie.Операции с надписями}
  2. Button Tooltip (Like balloon notification
Lot of threads you mention your had busy schedules,Ok.
Lets wait for it.:hi:
 

ffmla

Участник
Greeting Guys...!
Little struggle faced with the Progress bar effect(Like windows glowing effect).
Please compile the attachment with inno EE.
The effect is not perfect.But when the glowing start,wizardform button not working.
while px1.png and px2.png moving, buttons not working

Is anyone try these thing?.
if so any suggestion...!
 

Вложения

ffmla

Участник
Shegorat, хотелось бы, что бы была "лазейка" для создания своих Control'ов (в botv'e это были панели, которые через CallBack копировали регион с родительского окна, а в ISSprite можно использовать Btn и костылить(как я это делаю) или как в Layered создается новый слой многослойного окна). Хотелось что бы эта возможность сохранилась, это будет заложенным потенциалом. Да и я думал что новая библиотека, станет эксклюзивом для RG Revenants, но раз так то очень круто...

P.S.: Пользуясь случаем, вот Control'ы для ISSprite, готов принимать советы в доработке для оптимизации т.к. мало разбираюсь в сабклассинге ("Восян" короче).
Greetings...!

Try to make some experiment with compiler...but stuck at some point.
I try to compile the SpriteControl example by @Nemko with @Leserg Modded compiler{innosetup-6.0.5FullVCL(xp).rar}.

Situation is Progressbar,Trackbar and Swith examples work with @Leserg compiler,Only Splash example not working{Shows Access violation address error}.

Which function create the error in splash script.?
Anyone take a look...

PS: Enhanced version works well,only @Leserg modded version doesn't.{i know its different.}
 

Leserg

Участник
Only Splash example not working...
Which function create the error in splash script.?
This is the spImgLoadImage function in the ISSprite.iss file.

In my ExtractTemporaryFileToBuffer function, a 64K buffer is allocated, but in fact only 32K will be available. In the spSplash.iss script, the Logo.png file is 85K. Therefore, an error occurs. I don’t know what size used Restools for buffer operations and don’t know how to do it correctly. Now I did a test compilation with a 256K buffer and the spSplash.iss example works without errors. But the developer uses 64K. Perhaps this is not what I think about, but for now I will leave it at the default, because don't quite understand this code.

At the moment, to use this example with my Inno Setup mod, you can change the spImgLoadImage function in the ISSprite.iss file as follows:
1) or change directive #ifndef to #ifdef
2) or simplify the function to
Код:
function spImgLoadImage(hWnd: HWND; Filename: PAnsiChar; Left, Top, Width, Height: Integer; Stretch, IsBkg: Boolean): LongWord;
var
  Buffer: String;
  FileSize: LongInt;
begin
    if not FileExists(ExpandConstant('{tmp}\')+FileName) then ExtractTemporaryFile(FileName);
    Result:=ReName_spImgLoadImage(hWnd, ExpandConstant('{tmp}\')+FileName, ScaleX(Left), ScaleY(Top), ScaleX(Width), ScaleY(Height), Stretch, IsBkg);
    DeleteFile(ExpandConstant('{tmp}\')+FileName);
end;
 

Shegorat

Lord of Madness
Администратор
Shegorat обновил(а) ресурс ISSprite новой записью:

ISSprite v.0.0.7.48 #32

Изменения:
  • исправлена "утечка" памяти в оконной функции spWndPaint
  • исправлено пропадания Btn, при нажатии на Tab и Alt
  • исправлено пропадания Btn, при изменение страниц инсталлятора, если на Parent не было изменений
  • к spGifIdleTime присваивается MAX количество кадров для текущего GIF, убирает задержку в анимации при создании
  • добавлена возможность установить значение uElapse для таймера...
Узнать больше об этом обновлении...
 

Andreo Fadio

Старожил
@tayeb8888, Умеет практически всё, что умеет ботва, и даже больше, включая работу со спрайтами, создание прозрачных форм, а так же отрисовку текстов.
 

JEKE24

Новичок
Добрый день, подскaжите как отрисовать progressbar силами ISSprite(в примерах не нашел).
 

Хамик

Старожил
@Shegorat, Параметр SmartPaint функции spInitialize не действует на TNewGroupBox? Получается черный фон. И еще один момент: при использовании кастомной страницы TWizardPage, и если указать в TNewGroupBox родителя TWizardPage, то GroupBox невидимый.
 
Сверху