Search found 147 matches: messagebox

Return to advanced search

Re: Question about Message-functions

Dear Michel, It is not possible using standard FWH Msg...() functions as they use Windows API MessageBox() which does not allows it. So you have to create your own Msg...() function and here you have a great example from Mr. Rao: https://fivetechsupport.com/forums/viewtopic.php?p=260949&sid=d5c0b1968116267f40a085ad400602be#p260949
by Antonio Linares
Wed Jan 03, 2024 2:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about Message-functions
Replies: 6
Views: 702

Re: MessageBox with Timeout ?

hi,
Horizon wrote:Like this?
Code: Select all  Expand view
 MsgWait( <cMsg> [,<cTitle>], [<nSeconds>] ) --> nil  

Yes, this will do the Job, thx
by Jimmy
Thu Dec 15, 2022 5:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MessageBox with Timeout ?
Replies: 2
Views: 234

Re: MessageBox with Timeout ?

Like this? Shows a DialogBox with a msg and waits some time Syntax:  MsgWait( <cMsg> [,<cTitle>], [<nSeconds>] ) --> nil   Parameters:  <cMsg> The message to display    <cTitle> The title of the dialogbox. By default "Please, wait..."...
by Horizon
Thu Dec 15, 2022 5:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MessageBox with Timeout ?
Replies: 2
Views: 234

MessageBox with Timeout ?

hi, does Fivewin have a MessageBox with Timeout :?: how to "translate" this HMG CODE #define ID_TIMEDOUT 32000int WINAPI MessageBoxTimeout (HWND hWnd, LPCTSTR lpText, LPCTSTR lpCaption, UINT uType, WORD wLanguageId, DWORD ...
by Jimmy
Thu Dec 15, 2022 4:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MessageBox with Timeout ?
Replies: 2
Views: 234

Re: Help about TWebView class. reading something from website.

Antonio Linares wrote:Solved :-)

oWebView:Eval( 'window.onload = function () { SendToFWH( document.getElementById("example").innerHTML ) }' )


Goodmorning Antonio,

Can you please share full code in sample app? When I insert this line, there is not any messagebox anymore.
by Horizon
Tue Jul 05, 2022 6:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help about TWebView class. reading something from website.
Replies: 33
Views: 1534

Re: IE

... LIB hDLL #pragma BEGINDUMP #include <hbapi.h> #include <windows.h> static void test( const char * x, const char * y) //, void * t ) { MessageBox( 0, x, y, 0 ); } HB_FUNC( TEST ) { hb_retnl( ( HB_LONG ) test ); } #pragma ENDDUMP
by Natter
Thu May 26, 2022 12:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: IE
Replies: 39
Views: 1678

MDI child windows use hard-coded Visual Style Rendering

... regardless of the actual settings (except on Windows Server 2012). Normal (non-MDIChild) windows paint correctly as do the system windows like MessageBox, so you end up with a UI that has a mix of old and correct styling
by Silvio.Falconi
Thu May 19, 2022 9:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MDI child windows use hard-coded Visual Style Rendering
Replies: 1
Views: 210

Re: Common dialogs

All these common dialogs use Windows function MessageBox(). https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-messagebox Fonts and dialog sizes are managed by Windows and there is no way FWH can control it. It is better to make ...
by nageswaragunupudi
Mon Jul 05, 2021 5:44 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Common dialogs
Replies: 2
Views: 474

Re: How to draw gray box in dialog *Fixed*

You can have all messagebox function like MsgInfo(), MsgYesNo(), MsgStop(), etc in your own language like this: #include "fivewin.ch"function Main()   FW_SetUnicode( .t. )   SetMsgLangID( 0x041e ) ...
by nageswaragunupudi
Sat Feb 27, 2021 8:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to draw gray box in dialog *Fixed*
Replies: 7
Views: 571

TIMER Question

...  DoRelease()RETURN STATIC FUNCTION ShowTime()msginfo("ShowTime") Syntax "seems" ok but i get no Messagebox so i never reach function ... why :idea: ... does it have to do with those other 8 Dialog :?:
by Jimmy
Wed Dec 18, 2019 12:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TIMER Question
Replies: 3
Views: 716

harbour v1.x -> v.3x Error

hi, i have a old harbour v1.x Source Code and try to run it under v3.x and got these Error ---------------------------------------------------------------------------------------------------- Project [ HbXbase ] Launch [ Yes ] Rebuild [ Yes ] Started [ 08:58:35 ] ------------------------------------...
by Jimmy
Thu Oct 17, 2019 10:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: harbour v1.x -> v.3x Error
Replies: 2
Views: 506

Re: Pritpal, HBIDE developer, assists us to use it with FWH

hi, Thx for Answer. i try different IDE ... but i don't like any of them ... they need Mouse :wink: --- as my old Harbour v1.x Project use xMate i have installed lates HbIDE from Pritpal Bedi and try old harbour v1.x (!) Code. i have copy old gtwvg.env to new Directory and got it in HbIDE Setup ->...
by Jimmy
Thu Oct 17, 2019 7:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Pritpal, HBIDE developer, assists us to use it with FWH
Replies: 293
Views: 99029

Re: WRAPPER - TAPI - DEVLINK

Falta añadir CALLBACK aqui:

void CALLBACK CallBackFunction( LONG pbxh, DWORD comms_state, DWORD parm1 )
{
MessageBox( 0, "ok", "ok", 0 );
}
by Antonio Linares
Thu Sep 13, 2018 10:57 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: WRAPPER - TAPI - DEVLINK
Replies: 37
Views: 4629

Re: WRAPPER - TAPI - DEVLINK

... <hbapi.h>#include "devlink.h"void CallBackFunction( LONG pbxh, DWORD comms_state, DWORD parm1 ){   MessageBox( 0, "ok", "ok", 0 );}HB_FUNC( CALLBACKFUNCTION ){   hb_retnl( ( LONG ) CallBackFunction ...
by ARC
Thu Sep 13, 2018 9:19 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: WRAPPER - TAPI - DEVLINK
Replies: 37
Views: 4629

Re: WRAPPER - TAPI - DEVLINK

Implementa el callback como yo te indiqué:

viewtopic.php?p=214706#p214706

Y comprueba si aparece el MessageBox()
by Antonio Linares
Thu Sep 13, 2018 8:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: WRAPPER - TAPI - DEVLINK
Replies: 37
Views: 4629
Next

Return to advanced search