View Single Post
  #1  
Old 17-08-2024, 23:50
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 690
Thanks: 481
Thanked 2,549 Times in 563 Posts
BLACKFIRE69 is on a distinguished road
Arrow InnoSetup - Embedded InnoSetup IDE

Embedded InnoSetup IDE


Code:
const
  IDCC_CONFIRM_CLOSE_FILE     = $83;
  IDCC_ENABLE_MAIN_MENU       = $86;
  IDCC_ENABLE_TOOLBAR         = $87;
  IDCC_ENABLE_STATUSBAR       = $88;
  IDCC_SHOW                   = $75;
  IDCC_HIDE                   = $76;
  IDCC_RUN                    = $7D;
  IDCC_PAUSE                  = $7E;
  IDCC_TERMINATE              = $7F;
  IDCC_COMPILE                = $80;
  IDCC_STOP_COMPILE           = $81;
  IDCC_HIDE_BOTTOM_PANEL      = $6F;
  IDCC_OPEN_OUTPUT_DIR        = $70;
  
type
  TIdeTheme = (ide_light, ide_dark, ide_classic);
  
procedure is_ide_create(hParent: HWND; hLeft, hTop, hWidth, hHeight: Integer; BinDir: WideString);
procedure is_ide_change_theme(iTheme: TIdeTheme);
procedure is_ide_open_script(const sScript: WideString);
procedure is_ide_read_only(Value: Boolean);
procedure is_ide_call(const idcc: Cardinal);
* Example:

Code:
procedure InitializeWizard;
begin
  is_ide_create(WizardForm.Handle, 15, 5, 700, 550, ExpandConstant('{src}\Bin'));
  is_ide_open_script(ExpandConstant('{src}\Sample.iss'));
   
  { Enable MainMenu }
  is_ide_call(IDCC_ENABLE_MAIN_MENU); 
  
  { Enable Toolbar }
  is_ide_call(IDCC_ENABLE_TOOLBAR);
  
  { Enable Statusbar }
  is_ide_call(IDCC_ENABLE_STATUSBAR);
  
  { Show IDE }
  is_ide_call(IDCC_SHOW);
end;

procedure DeinitializeSetup;
begin
  { Confirm that the script file has been closed properly. }
  is_ide_call(IDCC_CONFIRM_CLOSE_FILE);
end;

.
Attached Images
File Type: png 0.png (41.2 KB, 120 views)
File Type: png 1.png (42.2 KB, 116 views)
File Type: png 2.png (42.1 KB, 116 views)
Attached Files
File Type: rar IS_IDE v1.0 - Example.rar (3.69 MB, 52 views)
Reply With Quote
The Following 6 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (18-08-2024), Cesar82 (18-08-2024), hitman797 (18-08-2024), Lord.Freddy (18-08-2024), pcblizzard (01-04-2025), ScOOt3r (18-08-2024)
Sponsored Links