To Antonio

To Antonio

Postby Silvio.Falconi » Wed Feb 03, 2016 9:21 am

Dear Antonio,

Sorry,

I talked also with Cristobal

the problem is this

I compiled my app with Febrary 2016 Release

ON Seven
Run ok I not have problems

this the snapshot on seven

Image


ON Winxp sp3
I have problem on a Vmenu class of Paco use two function Creafbold and CreaFcapt

this the snapshot on Win xp

Image

the last Release of Fwh run ok on winxp was January 2015, perhaps something was modified ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7075
Joined: Thu Oct 18, 2012 7:17 pm

Re: To Antonio

Postby Antonio Linares » Wed Feb 03, 2016 9:44 am

Silvio,

source/function/c5cnew.c has not been modified since 2015-10-25

List of changes:

Antonio Linares
d7c741e
* functions GETFONTMENU() and GETFONTHEIGHT() have been moved to fonts.c
2015-10-25
Cristobal Navarro
a5785bd
Minor bug fixed ( Menus in dialog ) Cleany and organitation of code Support Items multiline Format Items multiline
2015-10-15
NAGESWARARAO GUNUPUDI
ce50b4e
c5cnew.c: function GetFontMenu() made compatible with 64 bit
2015-10-13
Antonio Linares
f030f1d
* Fix for ExtTextOut() * Removed MinGW warning
2015-09-29
Cristobal Navarro
e2e13e5
* Cleaning unnecessary code * Enhancement: TMenu, Font to the window does not apply to menu * New: DATA of TMenu: nFactor, visual adjustment percentage for the menus to change the font size of the operating system * New: DATA of TMenu: nRightSp, set number of spaces to the right of the item to set the width of menus
2015-09-29
Cristobal Navarro
2ac831d
Redefine menus and redefine menuitem Changes of menu.ch
2015-07-01
Antonio Linares
5ee9fb6
* Comented two functions that were causing unresolved externals splitpath() and sprintf() with VS2013
2015-06-07
Antonio Linares
405065d
* New menus from Cristobal. and samples\prucmenu.prg and .rc
2015-06-02
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: To Antonio

Postby Silvio.Falconi » Wed Feb 03, 2016 10:10 am

Antonio,
I not understood how the same code on windows Seven run ok and on win xp run bad
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7075
Joined: Thu Oct 18, 2012 7:17 pm

Re: To Antonio

Postby Antonio Linares » Wed Feb 03, 2016 10:17 am

Silvio,

Could you provide a small example to reproduce it ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: To Antonio

Postby Silvio.Falconi » Wed Feb 03, 2016 10:19 am

do you have vmenu class or I must send to you ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7075
Joined: Thu Oct 18, 2012 7:17 pm

Re: To Antonio

Postby Silvio.Falconi » Wed Feb 03, 2016 10:43 am

the test.prg
Code: Select all  Expand view  RUN
#include "fivewin.ch"
#include "vmenu.ch"



static oWnd


static cFwhPath   := "c:\work\fwh\"

function main()
   local cPath    := cFwhPath + "
samples\"
   LOCAL nSplit := 257

   local oCont,oBar




 USE ( cPath + "
CUSTOMER" ) NEW ALIAS CUST SHARED

DEFINE WINDOW oWnd TITLE "
test Vtaskbar class  "





    IF IsWinXp()

      @ 02, 05 VMENU oCont SIZE nSplit-10, 40 OF oWnd  ;
      COLOR CLR_BLACK, GetSysColor(15)       ;
      COLORBORDE RGB( 0, 0, 0 )              ;
      FILLED                                 ;
      COLORSELECT 0, CLR_WHITE               ;
      HEIGHT ITEM 18 BORDER

     DEFINE TITLE OF oCont   ;
     CAPTION i18n("
Rec. ")+tran(CUST->(OrdKeyNo()),'@E 999,999')+" / "+tran(CUST->(OrdKeyCount()),'@E 999,999') ;
     HEIGHT 25           ;
     COLOR GetSysColor(9), GetSysColor(3), GetSysColor(2);
     VERTICALGRADIENT;
     IMAGE "
silla.bmp" ;
     RADIOBTN 15 ROUNDSQUARE


      @ 54, 05 VMENU oBar SIZE nSplit-10, 120 OF oWnd  ;
      COLOR CLR_BLACK, GetSysColor(15)       ;
      COLORBORDE RGB( 0, 0, 0 )              ;
      FILLED UNDERLINE  ;  // BORDER
      COLORSELECT 0, CLR_WHITE ;
      HEIGHT ITEM 22 BORDER

         DEFINE TITLE OF oBar       ;
       CAPTION "
Archivio attività" ;
      HEIGHT 24               ;
      COLOR GetSysColor(9), GetSysColor(3), GetSysColor(2);
      VERTICALGRADIENT;
      IMGBTN "
TB_UP", "TB_DOWN" ;
      OPENCLOSE RADIOBTN 15 ROUNDSQUARE


         DEFINE VMENUITEM  OF  oBar  CAPTION "
             " HEIGHT 12 ;
         COLOR 0, GetSysColor(15)  NOHILITE GROUP




      ELSE //win7


      @ 02, 05 VMENU oCont SIZE nSplit-10, 40 OF oWnd  ;
      COLOR CLR_BLACK, RGB(143,172,230)        ;
      FILLED  BORDER ;  // BORDER
      COLORBORDE RGB( 0, 0, 0 )              ;
      COLORSELECT 0, CLR_WHITE ;
      HEIGHT ITEM 15

   DEFINE TITLE OF oCont ;
       CAPTION i18n("
Rec. ")+tran(CUST->(OrdKeyNo()),'@E 999,999')+" / "+tran(CUST->(OrdKeyCount()),'@E 999,999') ;
      HEIGHT 22 ;
      COLOR GetSysColor(9), GetSysColor(3), GetSysColor(2) ;
      VERTICALGRADIENT     ;
      IMAGE "
silla.bmp" ;
      RADIOBTN 15


   @ 54, 05 VMENU oBar SIZE nSplit-10, 120 OF oWnd  ;
      COLOR CLR_BLACK,     GetSysColor(15)  ;
      HEIGHT ITEM 22 XBOX

      oBar:nCLRBox := MIN(GetSysColor(13), GetSysColor(14))

      DEFINE TITLE OF oBar ;
      CAPTION "
Archivio attività" ;
      HEIGHT 20 ;
      COLOR GetSysColor(9), GetSysColor(3), GetSysColor(2) ;
     OPENCLOSE VERTICALGRADIENT

      DEFINE VMENUITEM  OF  oBar  CAPTION "
             " HEIGHT 12 COLOR 0, GetSysColor(15)  NOHILITE GROUP



      ENDIF




     DEFINE VMENUITEM OF oBar        ;
      CAPTION "
Aggiungere una attività" ;
      IMAGE "
Image5.bmp"       ;
      ACTION NIL ;
      LEFT 10

   DEFINE VMENUITEM OF oBar        ;
      CAPTION "
Modificare una attività" ;
      IMAGE "
Image5.bmp"       ;
      ACTION  NIL;
      LEFT 10
    DEFINE VMENUITEM OF oBar        ;
      CAPTION "
Duplica una attività" ;
      IMAGE "
Image5.bmp"       ;
      ACTION  NIL;
      LEFT 10


ACTIVATE WINDOW oWnd MAXIMIZED







return nil







Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7075
Joined: Thu Oct 18, 2012 7:17 pm

Re: To Antonio

Postby cnavarro » Wed Feb 03, 2016 10:53 am

Silvio

You can send the class?
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: To Antonio

Postby Silvio.Falconi » Wed Feb 03, 2016 11:03 am

sent also to antonio
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7075
Joined: Thu Oct 18, 2012 7:17 pm

Re: To Antonio

Postby cnavarro » Wed Feb 03, 2016 8:46 pm

I have emailed .prg with one solution, problem is with class

Problem not is C5New.prg, not problem with functions CreaFBold or CreaFCapt

You use VTaskBar, why not use TOutlook?

Regards
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: To Antonio

Postby Silvio.Falconi » Thu Feb 04, 2016 8:45 am

the problem is not on VtaskBar Class!!!

I compiled with oldest C5cNew.prg and run ok also with Win Xp

Someone has modified something on new C5cnew.prg of fwh16.02 I not Know wich!!

SystemMetrics WIN XP is different more win Seven ?
and why on fwh15.01 run ok ?
it is very strange !!


PAtience.

For resolve my problem on WInXP if I wish use fwh last version
I must declare FONT TYpe for each control DEFINE TITLE when the app is on xp
when it is on seven I not have problem

Crisobal for the question of toutlok class

I use TFSDI+VTASKBAR+XBROWSE+TAB NOT MDI MAIN WINDOW (search fsdi2006)

perhaps because I tried many solutions and all not run ok

I lose much time on past years to found a good solution

for a sample :

the Toutlook class and the explorerbar class have problem with dialog NOT 4 STYLE .... it run good on windows class

it make easy ERROR DEF CONTROL if I try to insert it on a dialog or crash

the explorer class use urllink class to create items instead of a menu and I cannot change the type (see vitem)

I tried these classes many times and I not found a good solution

From 5 year I use TFSDI+VTASKBAR+XBROWSE+TAB with not problems until now ( only for xp)

Image

on PICTURE you can see a MainWindow with toolbar( rebar)
at centre there is a dialog NOT 4 style with Vtaskbar at left, a splitter, a xbrowse at right and a tab control ( old style) to bottom
all are resize when the user resize the main window


thanks a lot
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7075
Joined: Thu Oct 18, 2012 7:17 pm

Re: To Antonio

Postby Silvio.Falconi » Thu Feb 04, 2016 9:19 am

Solution : Declare Font into Vtaskbar control !!

Image
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7075
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 102 guests