Search found 54 matches: hicon

Return to advanced search

Re: MASTER ANTONIO

... LA PREGUNTA DEL MILLON en la clase twindow en el metodo new hay esta linea:: #ifdef __CLIPPER__ if oIcon != nil ::SendMsg( WM_SETICON, 0, oIcon:hIcon ) endif #endif esto quiere decir que ::SendMsg( WM_SETICON, 0, oIcon:hIcon ) solo se ejecutara si oIcon no es un nil.. lo que no entiendo es pq ...
by mantonio_08
Sat Feb 09, 2013 1:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: MASTER ANTONIO
Replies: 12
Views: 1943

MASTER ANTONIO

en la clase TWindow

en metodo NEW, se encuentra esta linea.

#ifdef __CLIPPER__
if oIcon != nil
::SendMsg( WM_SETICON, 0, oIcon:hIcon )
endif
#endif

a que se refiere el Ifdef --- y porque
by mantonio_08
Thu Feb 07, 2013 2:00 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: MASTER ANTONIO
Replies: 12
Views: 1943

Re: rc/res to source

... + 1); wcex.lpszMenuName = 0; wcex.style = CS_HREDRAW | CS_VREDRAW; wcex.lpfnWndProc = DefWindowProc; wcex.hInstance = hInst; wcex.hIcon = LoadIcon(0, (LPCTSTR)IDI_APPLICATION); wcex.hCursor = LoadCursor(NULL, IDC_ARROW); wcex.lpszClassName = WndClass00; RegisterClassEx(&wcex); ...
by MdaSolution
Tue Aug 02, 2011 8:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: rc/res to source
Replies: 4
Views: 1002

Re: c++ HIMAGELIST return XBROWSE ?

... you first should convert Icon to Bitmap, i dont remember, but i think you can not use TYPE_IMAGE for this you can use the converted handle ( hicon to hbitmap ) and add in aBitmaps ( Column Bitmaps array ) with AddBmpHandle i show a sample... (include BmpFromIcon function ) #include "fivewin.ch"#include ...
by Daniel Garcia-Gil
Sun Dec 06, 2009 5:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: c++ HIMAGELIST return XBROWSE ?
Replies: 5
Views: 1555

Re: FWH/xHarbour Menus

... if lAnd( ::nStyle, WS_HSCROLL ) DEFINE SCROLLBAR ::oHScroll HORIZONTAL OF Self endif if ::oIcon != nil SendMessage( ::hWnd, WM_SETICON, 0, ::oIcon:hIcon ) endif if ::bInit != nil FixSay(::hWnd) lResult = Eval( ::bInit, Self ) if ValType( lResult ) == "L" .and. ! lResult lFocus = .f. endif ...
by E. Bartzokas
Mon May 25, 2009 3:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH/xHarbour Menus
Replies: 20
Views: 7784

... oWnd : Window that the tray icon is linked cIcon : Specified path + file to get the icon nIcon : Icon number from file(use 0 for default icon) hIcon : 32bit handle of the icon cCaption : ToolTip to show bLClicked : Block to execute when Left Clicked bRClicked : Block to execute when Right Clicked ...
by concentra
Tue Sep 30, 2008 4:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TTRAY
Replies: 6
Views: 1335

... is only shown the first time. Maybe the solution is to call again these functions: c = GetNotifyIconData( ::oWnd:hWnd, 1, WM_TASKBAR, oIcon:hIcon, "text of the tooltip", "The Title" ) ::lSuccess = Shell_NotifyIcon( If( lAdd, NIM_ADD, NIM_MODIFY ), @c )
by Antonio Linares
Fri Aug 29, 2008 7:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help With TRAYICON
Replies: 33
Views: 6110

PLeaseee

... i need to do now ??? Antonio onde yo tengo que usar los codigos abaixo c := oTray:cBuffer c = GetNotifyIconData( ::oWnd:hWnd, 1, WM_TASKBAR, oIcon:hIcon, "text of the tooltip", "The Title" ) ::lSuccess = Shell_NotifyIcon( If( lAdd, NIM_ADD, NIM_MODIFY ), @c ) oTray:cBuffer := c se tu poder me add ...
by lailton.webmaster
Fri Aug 29, 2008 2:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help With TRAYICON
Replies: 33
Views: 6110

... to properly compile the C source code. Also, place this line here: c := oTray:cBuffer c = GetNotifyIconData( ::oWnd:hWnd, 1, WM_TASKBAR, oIcon:hIcon, "text of the tooltip", "The Title" ) ::lSuccess = Shell_NotifyIcon( If( lAdd, NIM_ADD, NIM_MODIFY ), @c ) oTray:cBuffer := c
by Antonio Linares
Thu Aug 28, 2008 11:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help With TRAYICON
Replies: 33
Views: 6110

PROBLEMA CON LISTBOX

... oDlg:bPainted = { | hDC | PalBmpDraw( hDC, 0, 0, oBmp:hBitmap ) } oIcono3:bPainted = { | hDC | PalBmpDraw( hDC, 0, 0, oIcono3:hIcon ) } // oVentana:bPainted := { | hDC | InstertBmp( hDC , oBmp3 , oVentana ) } REDEFINE GET oGet VAR CCVENVA picture "999999" ID 102 OF oDlg; COLOR ...
by JOSEMAR
Mon Jan 21, 2008 7:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PROBLEMA CON LISTBOX
Replies: 0
Views: 722

... oDlg:bPainted = { | hDC | PalBmpDraw( hDC, 0, 0, oBmp:hBitmap ) } oIcono3:bPainted = { | hDC | PalBmpDraw( hDC, 0, 0, oIcono3:hIcon ) } // oVentana:bPainted := { | hDC | InstertBmp( hDC , oBmp3 , oVentana ) } REDEFINE GET oGet VAR CCVENVA picture "999999" ID 102 OF oDlg; COLOR ...
by ACC69
Thu Dec 27, 2007 10:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PROBLEMAS DBCOMBO FWH 24
Replies: 6
Views: 1813

... oDlg:bPainted = { | hDC | PalBmpDraw( hDC, 0, 0, oBmp:hBitmap ) } oIcono3:bPainted = { | hDC | PalBmpDraw( hDC, 0, 0, oIcono3:hIcon ) } // oVentana:bPainted := { | hDC | InstertBmp( hDC , oBmp3 , oVentana ) } REDEFINE GET oGet VAR CCVENVA picture "999999" ID 102 OF oDlg; COLOR ...
by JOSEMAR
Thu Dec 27, 2007 8:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PROBLEMAS DBCOMBO FWH 24
Replies: 6
Views: 1813

... nWidth := ::nWidth(), nHeight := ::nHeight() local nRow := 10, nCol := 10 local n := 1, nIcons := Int( nWidth / 50 ) * Int( nHeight / 50 ) local hIcon := ExtractIcon( "user.exe", 0 ) local oFont, cText DEFINE FONT oFont NAME "Ms Sans Serif" SIZE 0, -8 UNDERLINE SelectObject( ::hDC, oFont:hFont ...
by FWHISHOW
Wed Dec 12, 2007 4:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TWBROWSE - bkeydown não aceita VK_UP?
Replies: 9
Views: 4190

MsgAbout in Windows XP

... Declare Function ShellAbout Lib "shell32.dll" Alias "ShellAboutA" (ByVal hwnd As Long, ByVal szApp As String, ByVal szOtherStuff As String, ByVal hIcon As Long) As Long Tried with: DLL32 FUNCTION MsgAbout(hDC AS LONG, cTx1 AS LPSTR, cTx2 AS LPSTR, hIco AS LONG) AS LONG PASCAL FROM "ShellAboutA" ...
by Euclides
Mon Aug 06, 2007 3:07 pm
 
Forum: FiveWin for CA-Clipper
Topic: MsgAbout in Windows XP
Replies: 4
Views: 1472

Bug in TImageList

... "oIcon" ) DEFINE ICON oIco FILENAME oIcon else DEFINE ICON oIco RESOURCE oIcon endif else oIco = oIcon endif return ILAddIcon( ::hImageList, oIco:hIcon )
by AlexSchaft
Sat Mar 10, 2007 3:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug in TImageList
Replies: 1
Views: 705
PreviousNext

Return to advanced search