Search found 41 matches: syscommand

Return to advanced search

Error when press ALT + XXX

... TWINDOW:MSGNOTFOUND( 0 ) Called from: ../../../tobject.prg => TWINDOW:GETHOTPOS( 0 ) Called from: .\source\classes\CONTROL.PRG => TGRID:SYSCOMMAND( 1337 ) Called from: .\source\classes\CONTROL.PRG => TGRID:HANDLEEVENT( 1835 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3681 ...
by Jimmy
Fri Nov 11, 2022 9:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error when press ALT + XXX
Replies: 3
Views: 283

Re: Beep on ALT-key

Enrico, I will remember that we changed for a similar case
METHOD HandleEvent( nMsg, nWParam, nLParam ) CLASS TControl
case nMsg == WM_SYSCOMMAND
return ::SysCommand( nWParam, nLoWord( nLParam ), nHiWord( nLParam ) )
Best regards,
Otto
by Otto
Mon Oct 19, 2020 4:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Beep on ALT-key
Replies: 14
Views: 1327

ERROR EN PREVIEW DE FWH 18.03

... => (b)TWINDOW( 342 ) Llamado desde: .\source\classes\WINDOW.PRG => TWINDOW:END( 0 ) Llamado desde: .\source\classes\WINDOW.PRG => TWINDOW:SYSCOMMAND( 2493 ) Llamado desde: => TWINDOW:HANDLEEVENT( 0 ) Llamado desde: .\source\classes\WINDOW.PRG => _FWH( 3388 ) Llamado desde: => ...
by rterraz
Mon May 04, 2020 11:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ERROR EN PREVIEW DE FWH 18.03
Replies: 0
Views: 291

Re: Sobre TBtnBmp y atajos de teclado

Angel,

He estado revisándolo y hay algo que se me escapa:

Cuando pulsamos Alt + letra se genera un evento SC_KEYMENU que llega a los métodos SysCommand(), sin embargo
he puesto unas trazas en el método SysCommand() de TControl y no pasa por él...

Hasta ahí he llegado de momento
by Antonio Linares
Fri Jun 21, 2019 9:32 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Sobre TBtnBmp y atajos de teclado
Replies: 2
Views: 646

Re: Current state of the display

Еhank you, corrected. Now the function GetDevicePowerState returns .F. in any case. And when the display is on and when I turn it off by
SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, 2)
by Natter
Thu Aug 31, 2017 11:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Current state of the display
Replies: 7
Views: 1040

Re: EJECUTAR UN .EXE

ASI /* - autor: wmormar, INCOS - wmormar@hotmail.com - fecha: 31 . octubre . 2008 - hora: 03.11 */ #include "fivewin.ch" FUNCTION main() LOCAL oBmp LOCAL tCalc32 LOCAL oCalculator Local lIncrustar:=.f. //LOCAL this := Self LOCAL lSalir := .f. /* IF ::oCalculator:classname() == "TDIALO...
by Claudio Leiva
Mon Mar 27, 2017 9:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: EJECUTAR UN .EXE
Replies: 13
Views: 2242

Re: Método()

Prueba con

WM_SYSCOMMAND nWParam = 61488 nLParam = 16188370


https://msdn.microsoft.com/es-es/librar ... 60(v=vs.85).aspx
by cnavarro
Wed Dec 14, 2016 8:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Método()
Replies: 14
Views: 1828

Re: ADO RDD xHarbour

... Chamado de (b)ENCOMCLIENTES(207) //ACTIVATE WINDOW ... VALID owmdi1:FechaMdi(obrowse) Chamado de TDMDICHILD:END(0) Chamado de TDMDICHILD:SYSCOMMAND(0) Chamado de TWINDOW:HANDLEEVENT(0) Chamado de TDMDICHILD:HANDLEEVENT(0) Chamado de _FWH(0) Chamado de WINRUN(0) Chamado de TMDIFRAME:ACTIVATE(0) ...
by Antonio Linares
Wed Apr 08, 2015 4:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446039

Re: ADO RDD xHarbour

... Chamado de (b)ENCOMCLIENTES(207) //ACTIVATE WINDOW ... VALID owmdi1:FechaMdi(obrowse) Chamado de TDMDICHILD:END(0) Chamado de TDMDICHILD:SYSCOMMAND(0) Chamado de TWINDOW:HANDLEEVENT(0) Chamado de TDMDICHILD:HANDLEEVENT(0) Chamado de _FWH(0) Chamado de WINRUN(0) Chamado de TMDIFRAME:ACTIVATE(0) ...
by AHF
Wed Apr 08, 2015 3:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446039

Re: ADO RDD xHarbour

... Chamado de (b)ENCOMCLIENTES(207) //ACTIVATE WINDOW ... VALID owmdi1:FechaMdi(obrowse) Chamado de TDMDICHILD:END(0) Chamado de TDMDICHILD:SYSCOMMAND(0) Chamado de TWINDOW:HANDLEEVENT(0) Chamado de TDMDICHILD:HANDLEEVENT(0) Chamado de _FWH(0) Chamado de WINRUN(0) Chamado de TMDIFRAME:ACTIVATE(0) ...
by AHF
Wed Apr 08, 2015 2:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446039

Re: Introducing FiveTech's fivedit

... Metodo y no utilizar el que ya existe? -> HandleEvent Hay algun motivo? Gracias Las pulsaciones Alt+... son rutadas automaticamente al método SysCommand, pues Windows genera un mensaje WM_SYSCOMMAND. Antonio, es que el tema de las teclas lo tenia implementado asi: METHOD HandleEvent( nMsg, ...
by cnavarro
Sat Jan 24, 2015 8:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Introducing FiveTech's fivedit
Replies: 560
Views: 107177

Re: Introducing FiveTech's fivedit

Cristobal, Cristobal, la implementación Alt-C y las otras combinaciones: METHOD SysCommand( nType, nLoWord, nHiWord ) CLASS TScintilla .../...             case nLoWord == Asc( "i" ) .or. nLoWord == Asc( "I" )   Habria ...
by Antonio Linares
Sat Jan 24, 2015 7:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Introducing FiveTech's fivedit
Replies: 560
Views: 107177

Re: Cierre de un DIALOG

Se ma he ocurrido que se podría añadir un DATA a TWindow que capturase el Último comando de SysCommand . Sería muy util para saber muchas cosas sobre el flujo del programa. Por ejemplo: si se va a jecutar el salvapantallaS, si se ha desplazado el contenidO de una ventana ...
by antolin
Tue Nov 12, 2013 10:44 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cierre de un DIALOG
Replies: 6
Views: 1121

Re: bAction en el Boton ? de la barra Titulo

... Cursor del Mouse FLECHA VERDE para el Dialogo y el Say se muestra correcto"  EXTEND CLASS  TDialog       WITH DATA bHelpIconOVERRIDE METHOD SysCommand    IN CLASS TDialog WITH MiSysComnd     DEFINE CURSOR    oCur           RESOURCE "OPCION"     DEFINE CURSOR    oSel           RESOURCE ...
by cuatecatl82
Wed Sep 18, 2013 2:36 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: bAction en el Boton ? de la barra Titulo (SOLUCIONADO)
Replies: 2
Views: 1425

Re: How unload tabtip.exe ?

Romeo,

#define WM_SYSCOMMAND 0x0112
#define SC_CLOSE 0xF060

to check if the keyboard is open you can do:

Code: Select all  Expand view

function IsKeyboardVisible()

return FindWindow( "IPTip_Main_Window" ) != 0
 


Antonio, thanks! :-)
by Antonio Linares
Wed Sep 11, 2013 12:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How unload tabtip.exe ?
Replies: 10
Views: 2179
Next

Return to advanced search

cron