Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #1  
Old 09-10-2020, 21:15
ffmla ffmla is offline
Registered User
 
Join Date: Nov 2014
Location: Digital world
Posts: 110
Thanks: 523
Thanked 62 Times in 40 Posts
ffmla is on a distinguished road
Lightbulb WinTB Library_2020_stripped version

WinTB Library_2020_stripped version

WinTB library for inno setup based on David.D.Rocco

Sergey3695 build https://fileforums.com/showpost.php?...92&postcount=9 <<--For a stripped version this build preferred {There is no external dependencies}.

Code:
Wintb.dll v 0.1 (2020) -- Need Microsoft VC++ redistributable
Added Functions
;  -- SetupPreview
;  -- SetTaskBarProgressValue
;  -- SetTaskBarProgressState

;  -- SetTaskBarTitle
;  -- SetTaskBarThumbnailTooltip

Wintb.dll v 0.2 (2020) From WinTB 2.1 by David.D.Rocco

;  -- msvcr1XX.dll needed for this,If you are a gamer{Installing MS VC++ runtime will fix this} Then all fine like original WinTB 2.1 by David.D.Rocco...!
;  -- Change log -- ;
;  -- SetupPreview added,
;  -- SetTaskBarProgressValue
;  -- SetTaskBarProgressState
;  -- SetTaskBarTitle
;  -- SetTaskBarThumbnailTooltip
;  -- SetTaskBarOverlayIcon

;  -- TaskBarAddButton
;  -- TaskBarCreateButtons
;  -- TaskBarButtonEnabled
;  -- TaskBarButtonToolTip
;  -- TaskBarButtonImage
;  -- Win7TaskBar10(),Win7TaskBar11(),Win7TaskBar12() & Win7TaskBar20() Removed.
;  -- Huge Thanks to David.D.Rocco,Krinkels & sergey3695.
Tested in win 10 2004 build all ok.

Huge thanks to David.D.Rocco,sergey3695 & DiCaPrIo for WinTB codes

Please test this library
Attached Files
File Type: rar WinTB v0.1.rar (4.3 KB, 48 views)
File Type: rar WinTB v0.2.rar (39.9 KB, 40 views)

Last edited by ffmla; 31-10-2020 at 06:14.
Reply With Quote
The Following 7 Users Say Thank You to ffmla For This Useful Post:
78372 (09-10-2020), ADMIRAL (09-10-2020), Cesar82 (10-10-2020), Cuttlas (09-10-2020), Harsh ojha (11-10-2020), Razor12911 (11-10-2020), shazzla (09-10-2020)
Sponsored Links
  #2  
Old 09-10-2020, 23:07
Cuttlas's Avatar
Cuttlas Cuttlas is offline
Registered User
 
Join Date: Aug 2020
Location: Near You :)
Posts: 56
Thanks: 19
Thanked 8 Times in 4 Posts
Cuttlas is on a distinguished road
The latest version of WinTB by David.D.Rocco was 2.1,
is this one a newer version than 2.1?
Reply With Quote
  #3  
Old 10-10-2020, 00:36
ffmla ffmla is offline
Registered User
 
Join Date: Nov 2014
Location: Digital world
Posts: 110
Thanks: 523
Thanked 62 Times in 40 Posts
ffmla is on a distinguished road
Quote:
Originally Posted by Cuttlas View Post
The latest version of WinTB by David.D.Rocco was 2.1,
is this one a newer version than 2.1?
No it's not.
Only taskbar thumbnail preview added.
Reply With Quote
  #4  
Old 10-10-2020, 00:53
Cuttlas's Avatar
Cuttlas Cuttlas is offline
Registered User
 
Join Date: Aug 2020
Location: Near You :)
Posts: 56
Thanks: 19
Thanked 8 Times in 4 Posts
Cuttlas is on a distinguished road
Smile

Quote:
Originally Posted by ffmla View Post
No it's not.
Only taskbar thumbnail preview added.
But I think the taskbar thumbnail preview is currently available in WinTB 2.1
Reply With Quote
  #5  
Old 10-10-2020, 01:36
ffmla ffmla is offline
Registered User
 
Join Date: Nov 2014
Location: Digital world
Posts: 110
Thanks: 523
Thanked 62 Times in 40 Posts
ffmla is on a distinguished road
^^
Available with some bugs in windows 10.
Reply With Quote
The Following User Says Thank You to ffmla For This Useful Post:
Cuttlas (10-10-2020)
  #6  
Old 10-10-2020, 13:53
Cuttlas's Avatar
Cuttlas Cuttlas is offline
Registered User
 
Join Date: Aug 2020
Location: Near You :)
Posts: 56
Thanks: 19
Thanked 8 Times in 4 Posts
Cuttlas is on a distinguished road
When I use this in my project, it will get the setup open in the taskbar even after closing/finishing.
Reply With Quote
  #7  
Old 11-10-2020, 02:40
ffmla ffmla is offline
Registered User
 
Join Date: Nov 2014
Location: Digital world
Posts: 110
Thanks: 523
Thanked 62 Times in 40 Posts
ffmla is on a distinguished road
Question Strange things

Quote:
Originally Posted by Cuttlas View Post
When I use this in my project, it will get the setup open in the taskbar even after closing/finishing.
In my system it works well.
could you PM me your source code.
i think the problem not in the WinTB.
Reply With Quote
  #8  
Old 11-10-2020, 12:49
Cuttlas's Avatar
Cuttlas Cuttlas is offline
Registered User
 
Join Date: Aug 2020
Location: Near You :)
Posts: 56
Thanks: 19
Thanked 8 Times in 4 Posts
Cuttlas is on a distinguished road
Cool

Quote:
Originally Posted by ffmla View Post
In my system it works well.
could you PM me your source code.
i think the problem not in the WinTB.
I think If you use SetWindowLong function, you should call it in DeinitializeSetup section also,
You need to restore the original message handler before you unload the DLL that implements your custom handler.

It will solve the problem I told.
Reply With Quote
  #9  
Old 13-10-2020, 05:44
Sergey3695 Sergey3695 is offline
Registered User
 
Join Date: Mar 2013
Location: Russia
Posts: 81
Thanks: 41
Thanked 71 Times in 38 Posts
Sergey3695 is on a distinguished road
WinTB (3.5 Kb DLL without msvcr110.dll) library for inno setup based on David.D.Rocco
p.s. look example
Quote:
SetupPreview
SetTaskBarProgressValue
SetTaskBarProgressState
SetTaskBarTitle
SetTaskBarThumbnailTooltip
SetTaskBarOverlayIcon
Attached Files
File Type: 7z WinTB.7z (7.2 KB, 25 views)

Last edited by Sergey3695; 31-10-2020 at 05:26.
Reply With Quote
The Following 2 Users Say Thank You to Sergey3695 For This Useful Post:
Cuttlas (13-10-2020), ffmla (13-10-2020)
  #10  
Old 13-10-2020, 09:47
Cesar82's Avatar
Cesar82 Cesar82 is online now
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 774
Thanks: 1,289
Thanked 1,641 Times in 559 Posts
Cesar82 is on a distinguished road
@Sergey3695, your script example.
Quote:
// need for SetTaskBar*
SetupHandle(FindWindowByClassName('TApplication')) ;
//
I don't know if this is the best way to get the handle of the taskbar button.
It may be possible to get the handle of another Inno Setup application if run at the same time (I'm not sure).

I think this is the most correct way to avoid getting the handle of another instance of the Inno Setup installer.


Code:
const
  GWL_HWNDPARENT = (-8);

function GetWindowLong(hWnd, nIndex: Integer): Longint;
  external '[email protected] stdcall';

procedure InitializeWizard();
begin
  ExtractTemporaryFile('wintb.dll');
// need for SetTaskBar*
  SetupHandle(GetWindowLong(MainForm.Handle, GWL_HWNDPARENT));
//
//...
Reply With Quote
The Following 3 Users Say Thank You to Cesar82 For This Useful Post:
Cuttlas (13-10-2020), ffmla (21-10-2020), Sergey3695 (13-10-2020)
  #11  
Old 13-10-2020, 11:31
Sergey3695 Sergey3695 is offline
Registered User
 
Join Date: Mar 2013
Location: Russia
Posts: 81
Thanks: 41
Thanked 71 Times in 38 Posts
Sergey3695 is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
I don't know if this is the best way to get the handle of the taskbar button.
I'm use Application.Handle (Enhanced Inno Setup Compiler).
GetWindowLong(MainForm.Handle, GWL_HWNDPARENT) or GetWindow(MainForm.Handle, 2) is your way
replaced on GetWindowLong(MainForm.Handle, GWL_HWNDPARENT) you right.

Last edited by Sergey3695; 13-10-2020 at 12:03.
Reply With Quote
  #12  
Old 13-10-2020, 15:39
DiCaPrIo DiCaPrIo is offline
Registered User
 
Join Date: Apr 2017
Location: Don't Know
Posts: 50
Thanks: 90
Thanked 49 Times in 30 Posts
DiCaPrIo is on a distinguished road
SetupHandle(GetWindowLong(GetWindow(WizardForm.Han dle , 4), GWL_HWNDPARENT));

Last edited by DiCaPrIo; 13-10-2020 at 15:42.
Reply With Quote
The Following 2 Users Say Thank You to DiCaPrIo For This Useful Post:
ffmla (20-10-2020), Sergey3695 (14-10-2020)
  #13  
Old 20-10-2020, 10:08
ffmla ffmla is offline
Registered User
 
Join Date: Nov 2014
Location: Digital world
Posts: 110
Thanks: 523
Thanked 62 Times in 40 Posts
ffmla is on a distinguished road
^^Added to OP.
New Build added with existing code.
Code:
Wintb.dll v 0.2 (2020) From WinTB 2.1 by David.D.Rocco

;  -- msvcr1XX.dll needed for this,If you are a gamer{Installing MS VC++ runtime will fix this} Then all fine like original WinTB 2.1 by David.D.Rocco...!
;  -- Change log -- ;
;  -- SetupPreview added,
;  -- SetTaskBarProgressValue
;  -- SetTaskBarProgressState
;  -- SetTaskBarTitle
;  -- SetTaskBarThumbnailTooltip
;  -- SetTaskBarOverlayIcon

;  -- TaskBarAddButton
;  -- TaskBarCreateButtons
;  -- TaskBarButtonEnabled
;  -- TaskBarButtonToolTip
;  -- TaskBarButtonImage
;  -- Win7TaskBar10(),Win7TaskBar11(),Win7TaskBar12() & Win7TaskBar20() Removed.
;  -- Huge Thanks to David.D.Rocco,Krinkels & sergey3695.:)
Reply With Quote
  #14  
Old 31-10-2020, 05:27
Sergey3695 Sergey3695 is offline
Registered User
 
Join Date: Mar 2013
Location: Russia
Posts: 81
Thanks: 41
Thanked 71 Times in 38 Posts
Sergey3695 is on a distinguished road
New Build added. Deleted SetupHandle. Updated post.

Last edited by Sergey3695; 31-10-2020 at 05:45.
Reply With Quote
The Following User Says Thank You to Sergey3695 For This Useful Post:
ffmla (31-10-2020)
  #15  
Old 03-11-2020, 23:16
Cuttlas's Avatar
Cuttlas Cuttlas is offline
Registered User
 
Join Date: Aug 2020
Location: Near You :)
Posts: 56
Thanks: 19
Thanked 8 Times in 4 Posts
Cuttlas is on a distinguished road
Smile

Quote:
Originally Posted by Sergey3695 View Post
New Build added. Deleted SetupHandle. Updated post.
Do u mean the WinTB v0.2.rar in first POST?
Reply With Quote
Reply

Tags
taskbar, wintb

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Settlers 2 - The Next Generation > New Version 9800 Pascal PC Games 5 12-10-2006 19:35
Official Sacred Crack Thread. Do not make other threads about this ! Ryynis PC Games 49 03-07-2006 05:35
Looking For F.E.A.R. Version 1.4, No CD Patch. ;) IAMCANADA PC Games 39 25-05-2006 02:45
The Godfather, Game -- Unusual Error dvdmations PC Games 4 05-05-2006 03:04
ClonyXXL v2.0.0.6 unaficial english version..quick question inside coffin filler PC Games 5 19-01-2003 16:01



All times are GMT -7. The time now is 21:19.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Copyright 2000-2020, FileForums @ https://fileforums.com