Search found 382 matches: drawing

Return to advanced search

New FTDN April 2024 (FWH 24.04)

... customize the appearance of the focus rect using different colors and penstyles. - New DATA nClrFocusRect. Programmer can use any solid color for drawing the focusrect. If the value -1 is assigned, Windows API function DrawFocusRect() is used like other styles of btnbmp. - New DATA nPenFocusRect: ...
by Antonio Linares
Wed Apr 24, 2024 7:14 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April 2024 (FWH 24.04)
Replies: 0
Views: 29

Re: Another for Btnbmp

Silvio, If you need a focus rectangle in a specific color, you would have to implement the drawing yourself. You can do this by drawing a rectangle using functions like WndBoxClr, where you can specify the brush or pen color. Otto local hPen, oCli := ::GetCliRect() hPen ...
by Otto
Tue Mar 26, 2024 12:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 4959

Re: Another for Btnbmp

... has focus currently. The programmer has to use colors/gradients to indicate which button has focus. I provide you a sample program, suppressing drawing of border while indicating the focused button with colors. I used some simple colors for demonstration, but you can use your own colors/gradients ...
by Silvio.Falconi
Mon Mar 25, 2024 9:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 4959

Re: Another for Btnbmp

... has focus currently. The programmer has to use colors/gradients to indicate which button has focus. I provide you a sample program, suppressing drawing of border while indicating the focused button with colors. I used some simple colors for demonstration, but you can use your own colors/gradients ...
by nageswaragunupudi
Mon Mar 25, 2024 1:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 4959

Re: TITLE CLASS BUG with oDLg TRansparent

... you have already written heresies to me other times together with your snack friend. and since you don't want to understand I'll make you a little drawing https://i.postimg.cc/qgfDKbfb/title.jpg the dialog color is COLOR CLR_BLACK, RGB( 245,245,235) the title color is oTitle:aGrdBack ...
by Silvio.Falconi
Sat Mar 16, 2024 3:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TITLE CLASS BUG with oDLg TRansparent - RESOLVED-
Replies: 9
Views: 1656

Re: Create a Panel width a text

Dear Silvio, You can use Windows API DrawText() using the flag DT_CALCRECT to calculate the dimensions of the text rectangle without actually drawing the text. it will take into account the font you are using, etc. The resulting width and height are stored in the rect structure. Please look ...
by Silvio.Falconi
Fri Jan 05, 2024 10:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 3187

Re: Create a Panel width a text

Dear Silvio, You can use Windows API DrawText() using the flag DT_CALCRECT to calculate the dimensions of the text rectangle without actually drawing the text. it will take into account the font you are using, etc. The resulting width and height are stored in the rect structure. Please look for ...
by Antonio Linares
Fri Jan 05, 2024 7:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 3187

Re: Drawing with the mouse on DC

Thank you, Rao!
by Natter
Mon Sep 25, 2023 6:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Drawing with the mouse on DC
Replies: 2
Views: 261

Re: Drawing with the mouse on DC

fwh\samples\signatur.prg
by nageswaragunupudi
Mon Sep 25, 2023 5:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Drawing with the mouse on DC
Replies: 2
Views: 261

Drawing with the mouse on DC

Hi,

It seems to me that there was an example of drawing with the mouse on DC ?
by Natter
Mon Sep 25, 2023 11:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Drawing with the mouse on DC
Replies: 2
Views: 261

Re: PRINT TO oPrn TABLE

No.
This is meant for quickly drawing a table without any coding.

If you want to customize, you write your own code.
by nageswaragunupudi
Sat Jan 28, 2023 12:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PRINT TO oPrn TABLE
Replies: 1
Views: 209

Re: cyclometric circle

* correct the numbers text on the bottom * when drawing the geometric shape corresponding to the xbrowse line, the lines are wrong because they don't point to the real xbrowse values https://i.postimg.cc/7ZmtP4S3/t8.png New code #include ...
by Silvio.Falconi
Fri Dec 02, 2022 1:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cyclometric circle
Replies: 46
Views: 3028

Re: TGet with rounded corners in Windows 11

This is what I get by default on all my programs. (W11)
Do you want to have this look in other versions of Windows also?
Then please consider drawing a Thick Line in the pain method.
by nageswaragunupudi
Thu Aug 04, 2022 9:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet with rounded corners in Windows 11
Replies: 12
Views: 672

Re: search a number of on array

Dear Silvio, Please provide a drawing or something to better understand you :-) sample nWheel = 1 https://i.postimg.cc/fyGXkHZQ/sample.png I have to find out if my number is in the first column, if it found it, return the ...
by Silvio.Falconi
Fri May 27, 2022 9:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: search a number of on array
Replies: 4
Views: 354

Re: search a number of on array

Dear Silvio,

Please provide a drawing or something to better understand you :-)
by Antonio Linares
Fri May 27, 2022 8:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: search a number of on array
Replies: 4
Views: 354
Next

Return to advanced search