My friend, you provided me this piece of code (that works GREAT) as a way to set the console window title:
- Code: Select all Expand view
#pragma BEGINDUMP
#include <windows.h>
#include <hbapi.h>
HB_FUNC( SETCONSOLETITLE )
{
hb_retl( SetConsoleTitle( ( char * ) hb_parc( 1 ) ) );
}
#pragma ENDDUMP
Is there a way to get the current caption / title ?
Thank you very much !!!!