Msg Box Icon Help

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: Msg Box Icon Help

Post by bpd2000 »

Thank you Mustafa
Updated sample
Attachments
demoy.zip
(1.46 MiB) Downloaded 107 times
BPD
Convert Dream into Reality through HMG
ASESORMIX
Posts: 192
Joined: Thu Oct 25, 2012 8:08 pm
Location: Bqto, Venezuela

Re: Msg Box Icon Help

Post by ASESORMIX »

Gracias por compartir.
ASESORMIX
Posts: 192
Joined: Thu Oct 25, 2012 8:08 pm
Location: Bqto, Venezuela

Re: Msg Box Icon Help

Post by ASESORMIX »

Tengo una pregunta con respecto a este tema:

Tengo un ejcutable compilado para que se ejecute en modo CONSOLE (sin librerías adicionales, solo con hmg).
En este ejecutable tengo una rutina que me permite cambiar el titulo de la ventana durante la ejecución del programa.

Code: Select all

#PRAGMA BEGINDUMP

#include "hbapi.h"
#include "Windows.h"

HB_FUNC( SETCONSOLETITLE )
{
hb_retl( SetConsoleTitle( hb_parc( 1 ) ) ) ;
}

HB_FUNC( FINDWINDOW )
{
hb_retnl( ( LONG ) FindWindow( NULL, hb_parc( 1 ) ) ) ;
}

#PRAGMA ENDDUMP


Me gustaría saber si existe alguna rutina que permite cambiar el icono de este ejecutable durante la ejecución del mismo.
Post Reply