Search found 27 matches: getclassname

Return to advanced search

Re: Duda de cuando usar TActiveX, TOleAuto y CreateObject

Dear Lailton,

We use a FWH new control class:

@ 0, 0 ACTIVEX oActiveX PROGID "Shell.Explorer" OF oWnd

MsgInfo( GetClassName( oActiveX:hWnd ) ) // TACTIVEX
by Antonio Linares
Fri Sep 30, 2022 7:33 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Duda de cuando usar TActiveX, TOleAuto y CreateObject
Replies: 4
Views: 565

Re: window class

MsgInfo( GetClassName( hWnd ) )
by Antonio Linares
Thu Aug 11, 2022 12:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: window class
Replies: 2
Views: 255

New BtnBmp Vs Old Btnbmp

... November 2021) https://i.postimg.cc/9fZ4VhQt/ultima.png I add only a line on METHOD PaintPopupSection() if ::oPopup != nil  .and.  GetClassName( GetParent( Self:hWnd ) ) = "TBAR" I don't understand why this command was canceled (.and. GetClassName( GetParent( ...
by Silvio.Falconi
Sat Apr 16, 2022 10:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New BtnBmp Vs Old Btnbmp
Replies: 2
Views: 226

Re: New BTNBMP more different

... CLASS TBtnBmp local nWidth, nHeight, hDC local hBlackBrush, hOldBrush local hDarkPen, hLightPen, hOldPen if ::oPopup != nil .and. GetClassName( GetParent( Self:hWnd ) ) = "TBAR" this for erase the arrow on the left of btnbmp I use this png "c:\work\fwh\bitmaps\pngs\image5.png" ...
by Silvio.Falconi
Sat Feb 02, 2019 11:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New BTNBMP more different
Replies: 5
Views: 881

a btnbmp question (show popup)

... For not show the black arrow On Btnbmp class I add on the method PaintPopupSection the bold string if ::oPopup != nil .and. GetClassName( GetParent( Self:hWnd ) ) = "TBAR" Now the final user can open the popupmenu but must click at the end of btnbmp, soon the final ...
by Silvio.Falconi
Tue Jan 22, 2019 3:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: a btnbmp question (show popup)
Replies: 0
Views: 479

Re: BtnBmp and PopupMenu

... not the popupsection when the btnbmp is not on tbar https://s8.postimg.cc/4ff0ggpsl/image.png We suggest if ::oPopup != nil .and. GetClassName( GetParent( Self:hWnd ) ) = "TBAR"
by Silvio.Falconi
Sat Jun 23, 2018 3:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: BtnBmp and PopupMenu
Replies: 9
Views: 1162

EN_UPDATE never called on TEdit

... == BN_CLICKED, nID != IDCANCEL, .f. )           ::oMenu:Command( nID )      case GetClassName( hWndCtl ) == "ToolbarWindow32"           oWndFromHwnd( hWndCtl ):Command( ...
by AntoninoP
Tue Dec 12, 2017 9:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: EN_UPDATE never called on TEdit
Replies: 9
Views: 2198

Re: Ayuda DLL

Antonio buenos dias, gracias por la ayuda Agrego la VM.LIB (xharbour), y me manda estos errorres :( :( Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex)...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6329

Re: "Snap" for Clipper

...      195! GETCLASSINFO()         (function  in ?)    WINDOW.PRG      945 GETCLASSLONG()         (function  in ?)    WINDOW.PRG     3652 GETCLASSNAME()         (function  in ?)    WINDOW.PRG     1393  3237  3286  4061 GETCLIENTRECT()        (function  in ?)    WINDOW.PRG     1284  1291 ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
 
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 6689

Re: Error con los aceleradores del menú

... la ventana principal ? Esto es lo más importante Si tienes un timer (podrias usar el de la barra de mensajes) puedes probar a hacer oWnd:SetText( GetClassName( GetFocus() ) ) y asi saber la Clase del control que tiene el foco. Otra forma seria: oWnd:SetText( oWndFromHwnd( GetFocus() ):ClassName()
by Antonio Linares
Thu Apr 11, 2013 2:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error con los aceleradores del menú
Replies: 21
Views: 3407

Re: How to get Active Object in MDI app

... the result of unmodified control.prg http://i208.photobucket.com/albums/bb82/fraxzi/FWxHarbour/ActiveObjectOrg.png I used MsgInfo( GetClassName( GetFocus() ) ) for both window/dialog Using:        oObj := oWinMDI:oWndClient:GetActive()       msginfo( oObj:CtrlFocus() ...
by fraxzi
Mon Jul 12, 2010 12:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to get Active Object in MDI app
Replies: 17
Views: 3199

Re: How to get Active Object in MDI app

Frances,

Please run this:

MsgInfo( GetClassName( GetFocus() ) )

and let me know what you get
by Antonio Linares
Fri Jul 09, 2010 4:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to get Active Object in MDI app
Replies: 17
Views: 3199

Re: Se necesita ayuda en el wiki !

... sin corregir, desde los chm de FiveWin. Ahora ya está bien. GetActiveWindow() GetAllWin() GetASyncKey() Getbkcolor() GetCapture() GetCaretPos() GetClassName() GetClientRect() GetClpData() GetCommError() GetCoors() Getcpu() GetCpuSpeed() GetCtrlId() Getcurdir() GetCursorPos() GetDatas() GetDC() ...
by Cgallegoa
Sun Feb 21, 2010 10:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Se necesita ayuda en el wiki !
Replies: 12
Views: 5500

Re: FWH/xHarbour Menus

... nID ) case hWndCtl == 0 .and. ::oMenu != nil .and. ; If( nNotifyCode == BN_CLICKED, nID != IDCANCEL, .f. ) ::oMenu:Command( nID ) case GetClassName( hWndCtl ) == "ToolbarWindow32" oWndFromHwnd( hWndCtl ):Command( nWParam, nLParam ) case nID != 0 do case case nNotifyCode == ...
by E. Bartzokas
Mon May 25, 2009 3:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH/xHarbour Menus
Replies: 20
Views: 7757

Re: Missing Cursor

Tim,

As I commented you, I would suggest to use a timer that you could activate in your app and that shows or stores in a logfile (LogFile()) the GetClassName( GetFocus() ), so you will know in every moment where the focus is.
by Antonio Linares
Sun Jan 18, 2009 8:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Missing Cursor
Replies: 3
Views: 527
Next

Return to advanced search