gtwvw status bar small change

Hi,

I already wrote a bug in gtwvw. I found what went wrong.

SendMessage (hWndSB, WM_SETFONT, ...) Must to perform before 
GetClientRect(hWndSB, &rSB).

Anybody can make changes to the CVS (SVN)

Thank you

-===============================================================
HB_FUNC( WVW_SBCREATE)
.......
.......
      RECT rSB = { 0 };
      if (pWindowData->hSBfont==NULL)
      {
         pWindowData->hSBfont = CreateFontIndirect( &pData->s_lfSB );
      }
      SendMessage( hWndSB, WM_SETFONT, (WPARAM) pWindowData->hSBfont, 
(LPARAM) TRUE);
      if (GetClientRect(hWndSB, &rSB))
      {
        pWindowData->usSBHeight = (USHORT) rSB.bottom;
      }
      pWindowData->hStatusBar = hWndSB;

      hb_gt_wvwResetWindow( usWinNum );

      ptArray[0] = rSB.right;
//up     SendMessage( hWndSB, WM_SETFONT, (WPARAM) pWindowData->hSBfont, 
(LPARAM) TRUE);

      SendMessage(hWndSB, SB_SETPARTS, 1, (LPARAM)(LPINT)ptArray);

........
==================================================================

regards, Anatole
0
abakkav
2/26/2011 3:52:29 PM
comp.lang.xharbour 5169 articles. 0 followers. Post Follow

3 Replies
309 Views

Similar Articles

[PageSpeed] 4
Hi

I=B4ll do tomorrow night

Regards
Luiz

On 26 fev, 12:52, abakkav <abak...@nm.ru> wrote:
> Hi,
>
> I already wrote a bug in gtwvw. I found what went wrong.
>
> SendMessage (hWndSB, WM_SETFONT, ...) Must to perform before
> GetClientRect(hWndSB, &rSB).
>
> Anybody can make changes to the CVS (SVN)
>
> Thank you
>
> -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> HB_FUNC( WVW_SBCREATE)
> ......
> ......
> =A0 =A0 =A0 RECT rSB =3D { 0 };
> =A0 =A0 =A0 if (pWindowData->hSBfont=3D=3DNULL)
> =A0 =A0 =A0 {
> =A0 =A0 =A0 =A0 =A0pWindowData->hSBfont =3D CreateFontIndirect( &pData->s=
_lfSB );
> =A0 =A0 =A0 }
> =A0 =A0 =A0 SendMessage( hWndSB, WM_SETFONT, (WPARAM) pWindowData->hSBfon=
t,
> (LPARAM) TRUE);
> =A0 =A0 =A0 if (GetClientRect(hWndSB, &rSB))
> =A0 =A0 =A0 {
> =A0 =A0 =A0 =A0 pWindowData->usSBHeight =3D (USHORT) rSB.bottom;
> =A0 =A0 =A0 }
> =A0 =A0 =A0 pWindowData->hStatusBar =3D hWndSB;
>
> =A0 =A0 =A0 hb_gt_wvwResetWindow( usWinNum );
>
> =A0 =A0 =A0 ptArray[0] =3D rSB.right;
> //up =A0 =A0 SendMessage( hWndSB, WM_SETFONT, (WPARAM) pWindowData->hSBfo=
nt,
> (LPARAM) TRUE);
>
> =A0 =A0 =A0 SendMessage(hWndSB, SB_SETPARTS, 1, (LPARAM)(LPINT)ptArray);
>
> .......
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> regards, Anatole

0
culikr
2/27/2011 10:42:28 PM
Hi, Luis
Well. Thank you.

Anatole.

culikr@gmail.com пишет:
> Hi
>
> I´ll do tomorrow night
>
> Regards
> Luiz
>
> On 26 fev, 12:52, abakkav<abak...@nm.ru>  wrote:
>> Hi,
>>
>> I already wrote a bug in gtwvw. I found what went wrong.
>>
>> SendMessage (hWndSB, WM_SETFONT, ...) Must to perform before
>> GetClientRect(hWndSB,&rSB).
>>
>> Anybody can make changes to the CVS (SVN)
>>
>> Thank you
>>
>> -===============================================================
>> HB_FUNC( WVW_SBCREATE)
>> ......
>> ......
>>        RECT rSB = { 0 };
>>        if (pWindowData->hSBfont==NULL)
>>        {
>>           pWindowData->hSBfont = CreateFontIndirect(&pData->s_lfSB );
>>        }
>>        SendMessage( hWndSB, WM_SETFONT, (WPARAM) pWindowData->hSBfont,
>> (LPARAM) TRUE);
>>        if (GetClientRect(hWndSB,&rSB))
>>        {
>>          pWindowData->usSBHeight = (USHORT) rSB.bottom;
>>        }
>>        pWindowData->hStatusBar = hWndSB;
>>
>>        hb_gt_wvwResetWindow( usWinNum );
>>
>>        ptArray[0] = rSB.right;
>> //up     SendMessage( hWndSB, WM_SETFONT, (WPARAM) pWindowData->hSBfont,
>> (LPARAM) TRUE);
>>
>>        SendMessage(hWndSB, SB_SETPARTS, 1, (LPARAM)(LPINT)ptArray);
>>
>> .......
>> ==================================================================
>>
>> regards, Anatole
>


-- 
regards, Anatole
0
abakkav
2/28/2011 5:14:53 AM
Hi Anatole

Commited on SVN

Regards
Luiz
On 28 fev, 02:14, abakkav <abak...@nm.ru> wrote:
> Hi, Luis
> Well. Thank you.
>
> Anatole.
>
> cul...@gmail.com =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
>
>
>
> > Hi
>
> > I=C2=B4ll do tomorrow night
>
> > Regards
> > Luiz
>
> > On 26 fev, 12:52, abakkav<abak...@nm.ru> =C2=A0wrote:
> >> Hi,
>
> >> I already wrote a bug in gtwvw. I found what went wrong.
>
> >> SendMessage (hWndSB, WM_SETFONT, ...) Must to perform before
> >> GetClientRect(hWndSB,&rSB).
>
> >> Anybody can make changes to the CVS (SVN)
>
> >> Thank you
>
> >> -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >> HB_FUNC( WVW_SBCREATE)
> >> ......
> >> ......
> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0RECT rSB =3D { 0 };
> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0if (pWindowData->hSBfont=3D=3DNULL)
> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0{
> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 pWindowData->hSBfont =3D CreateFont=
Indirect(&pData->s_lfSB );
> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0}
> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0SendMessage( hWndSB, WM_SETFONT, (WPARAM) p=
WindowData->hSBfont,
> >> (LPARAM) TRUE);
> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0if (GetClientRect(hWndSB,&rSB))
> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0{
> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0pWindowData->usSBHeight =3D (USHORT)=
 rSB.bottom;
> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0}
> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0pWindowData->hStatusBar =3D hWndSB;
>
> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0hb_gt_wvwResetWindow( usWinNum );
>
> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0ptArray[0] =3D rSB.right;
> >> //up =C2=A0 =C2=A0 SendMessage( hWndSB, WM_SETFONT, (WPARAM) pWindowDa=
ta->hSBfont,
> >> (LPARAM) TRUE);
>
> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0SendMessage(hWndSB, SB_SETPARTS, 1, (LPARAM=
)(LPINT)ptArray);
>
> >> .......
> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> >> regards, Anatole
>
> --
> regards, Anatole

0
culikr
2/28/2011 3:55:59 PM
Reply:
Similar Artilces:

Changing page size
Hello, I read the previous thread about this subject, but I didn't understand what file I am supposed to edit: PDF is binary. Well, I'd like enlarge the page size, as with "Canvas size" in Photoshop. The existing material should be put on the left of the new page. Thanks for your help. Oodini <svdbg@free.fr> wrote: >I read the previous thread about this subject, but I didn't understand >what file I am supposed to edit: PDF is binary. Which thread? I see about 57,000 messages in this group, so it may take a long time to check. -----------------------...

Re: status f034 while exit from orphan status expected
Two notes: 1. I should have added the ntpd version: 4.2.4p7. 2. after ntpd restart in e.f.g.h, the ntpd immediately recognized server stratum 1: # ntpq -np -c as ind assID status conf reach auth condition last_event cnt =========================================================== 1 17955 8015 yes yes none reject clock expt 1 2 17956 8000 yes yes none reject 3 17957 f614 yes yes ok sys.peer reachable 1 4 17958 c000 yes yes bad reject remote refid st t when poll reach delay offset jitter ================================...

Filemaker 5 support status?
My new org relies on FM 5, and I need to check support status. I've tried FM site, and web/groups, but haven't found an answer. With V6 and V7 out there, can anyone tell me if V5 is still in support? (FM apps currently run on Windows 2000 client.) Thanks, David G. There are just a few add-ons in FMP6 from FMP5 and FMP5.5, and they have the same extension '.fp5'. So I'd say that supporting FMP6 means as least supporting FMP5. Just my 2 cents. Remi-Noel "David Gilmour" <traprain2004-news@removethisyahoo.co.uk> a �crit dans le message de news: >...

MiniGUI with GTWVW ?
Hi all, can both MiniGui work together with GTWVW ? Thank a lot -- .. On 20 Ott, 04:55, "fatfat" <fat...@fatfat.com> wrote: > Hi all, > > can both MiniGui work together with GTWVW ? > > Thank a lot > > -- > . What intend? 1 Can be linkend in exe 2 Call from mini gui form a gtwvw form 3 call from gtwvw a minigui 4 use either component in same form? minigui call to display a new WVW form or WVW form call to a new minigui form or using from common windows api that minigui already have, such as get printer(), getfolder()...etc Thanks "Massi...

MS Access Data Changes Not Committing Before Next Read?
This is an interesting problem... I'm using MS Access for the backend for a simple task list web application. (I know, I know, but Access is all my Web Host will allow without killing me in hosting fees...) I haven't used Access for the back end of a website since 1999, so maybe there is something I'm missing here. When updating or inserting records into the database using ADO.NET, the changes are not committing to the database immediately. When I select from the table immediately after the update--even with the same connection--I get a recordset that reflects the table prior t...

Flickering title bar
Hey i was wondering if anybody came accros this problem. im running a big syste on clarion 5.5 but i get the problem tht the title bar ("refreshes") the whole time. its irretating to my users and i would like to get this problem fixed. can anyone please maybe help me? thanks ...

xHarbour + GTWVW
Hello All, xHarbour 1.0.0 + GTWVW was one of the best environments for porting Clipper applications to Windows quickly and easily. It is a pity that GTWVW is no longer supported by the latest version of xHarbour. My 2 cents worth. Regards. Ash Dear Ash: "Ash" <ashfaq437@gmail.com> wrote in message news:1ae8262f-787a-4d0b-9690-b3d95f65fd83@e27g2000yqm.googlegroups.com... > Hello All, > > xHarbour 1.0.0 + GTWVW was one of the best > environments for porting Clipper applications to > Windows quickly and easily. It is a pity that > GTWVW is no longer support...

where to find small java projects to work as part time and get paid?
Hi, I am wondering where I can find some small java projects to work on remotely and earn myself some extra money. Thank you. www wrote: > Hi, > > I am wondering where I can find some small java projects to work on > remotely and earn myself some extra money. > > Thank you. There are several resources on the web for this. If you're up to the job of being paid to write Java, you'll be resourceful enough to find the sites. ...

GTWVW
Hello, I'm using the GTWVW for Windows. I would like to know if there is any prospect of a Linux version. In case there is, is there any estimation of time? Thank you for supporting xHarbour. Marcelino On Mar 21, 4:01 pm, "Marcelino Costa" <marcel...@trucker.com.br> wrote: > Hello, > > I'm using the GTWVW for Windows. I would like to know if there is any > prospect of a Linux version. In case there is, is there any estimation of > time? > > Thank you for supporting xHarbour. > > Marcelino Hi, try GTXWC or GTXVT regards Filip ...

SWks 2004 File Size Changes
I see some files formerly 5-6 megs quickly balloon to 14 megs. Save As and they return to 4-5 megs. Save again and they hit back toward 12-13 megs. Why the bloat? Bo Bo Clawson wrote: > I see some files formerly 5-6 megs quickly balloon to 14 megs. > > Save As and they return to 4-5 megs. > > Save again and they hit back toward 12-13 megs. > > Why the bloat? One word. Microsoft. SW uses OLE Structured Storage for its file format, which is the soruce of the wild swings in file size. Jim S. -- Remove my extraneous mandibular appendages to reply via email. Par...

How to change my code from JDOM to JAXP?
import java.io.*; import java.util.*; import org.jdom.*; import org.jdom.input.*; import org.jdom.output.*; import org.jdom.xpath.*; public class DataMapper { public static List getFieldList(int viewType) throws IOException, JDOMException { SAXBuilder builder = new SAXBuilder(); Document doc = builder.build("http://localhost/xml/mapping.xml"); XPath fieldPath = XPath.newInstance("//field[ui-display=\"Value1\" or ui-display=\"Value2\"]"); List fields = fieldPath.selectNodes(doc); return fields; ...

mpfit: meaning of status flag
Hi, I'm using mpfit (actually mpfitfun) to do some fitting. Even though the fit seems to converge properly, for all fits I get the message: improper input perameters. Is this a problem? I must admit that I thoughly abuse the X variable, to pass some extra information around, but as far as I know, mpfit does not touch this variable. On the other hand, looking at the list of possible status values, I wouldn't know exactly what's good, and what isn't. Maarten On Apr 26, 4:32 am, Maarten <maarten.sn...@knmi.nl> wrote: > Hi, > > I'm using mpfit (actually mpfit...

how to hide "Figure No. 1" the window title bar for a matlab figure?
Hi folks, I want to hide the window title because I want to show a splash window which only shows an image. How can I do that? Thanks a lot, -Gino gino: <SNIP is ashamed of his/her figure's garland... a hint fh=handle(figure('name','foo')); pause; fh.name=''; pause; fh.numbertitle='off'; pause; fh.toolbar='none'; pause; fh.menubar='none'; us "gino" <mizhael@yahoo.com> writes: > I want to hide the window title because I want to show a splash window > which only show...

Changing a line in a text file
How do I change a line in a file?? For example I have the follwing text in my file: line1 line2 line3 line4 How do I replace 'line2' with 'newline'. Since the write operation in python will overwrite everything. Regards, Kah kah wrote: > How do I change a line in a file?? > > For example I have the follwing text in my file: > > line1 > line2 > line3 > line4 > > How do I replace 'line2' with 'newline'. Since the write operation in > python will overwrite everything. This is the best I can figure out what you mean: lin...

Tamino XMark Benchmark
Hello I have to make an XMark Benchmark on my Tamino. (XMark - http://www.xml-benchmark.org/ ) I loaded the Testdata to the databasa correctly. Now I have problems. Tamino doesn't support following XQuery Functions (maybe are too old). > zero-or-one, exactly-one and some other synactical things. Does anybody executed an XMark Benchmark on Tamino and know the needed changes on the XMark test queries, which have to be changed, so they can work with tamino ?????? for example Q3 of XMark doesn't work: let $auction := doc("auction.xml") return for $b in $auction/site/op...

[LogoForum] Status of Logo, research summary
--Apple-Mail-2-406739840 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; format=flowed Status of Logo, observations My thanks to the 15 people who responded to the questions I posted=20 about Logo on the Ed Tech, MicroWorlds and Logo forums.=A0 Several of = you=20 expressed interest in the outcome of the project, so here are my=20 observations pulled from your comments.=A0 The sampling is not at all=20 statistically relevant, still it was interesting to find some patterns=20= to people's thoughts and experiences.=A0 1.=A0 Current U.S. Logo ...

App Tab Bar Icons for iOS 2.0
Consisting of 99 high-resolution images, App Tab Bar Icons for iOS will help developers quickly implement stylish navigation bars, toolbars, and tab bars for iPhone, iPad, and iPod apps. Coming in a variety of sizes, App Tab Bar Icons for iOS are available in raster and scalable vector formats. Variable depths are available, adjustable via an extra transparency layer. The collection supplies all icons in black and white versions. App Tab Bar Icons for iOS includes images commonly used in application toolbars and navigation bars, including Back, Forward, Refresh, Stop, Phone, Microphone...

FAQ 4.27 How can I access or change N characters of a string? #12
This is an excerpt from the latest version perlfaq4.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . -------------------------------------------------------------------- 4.27: How can I access or change N characters of a string? You can access the first characters of a string with substr(). To get the first character, for example, start at position 0 and grab the string of lengt...

Status of Dolphin buyout
Hello Dolphiners, How is the buyout going? Any good news? Any problems, which can maybe be solved with help from a broader Smalltalk public? Best regards Janko -- Janko Mivšek AIDA/Web Smalltalk Web Application Server http://www.aidaweb.si On Oct 16, 9:43 am, Janko Miv=C5=A1ek <janko.miv...@eranova.si> wrote: > Hello Dolphiners, > > How is the buyout going? Any good news? Any problems, which can maybe > be solved with help from a broader Smalltalk public? > > Best regards > Janko > -- > Janko Miv=C5=A1ek > AIDA/Web > Smalltalk ...

axes disappear when changing facealpha--but reappear when panning?
This problem seems specific to the data I'm using, because I wasn't able to generate a minimal working example to reproduce it without using that data. So in the following code t, ftu and ftl are those data points. The problem is really quite simple though. The axes do not show up immediately on the figure unless I use the "pan" tool to move it. Then they appear (and sometimes disappear again). If I turn off the "FaceAlpha" setting, i.e. keep it as default, then this doesn't happen. Can anyone tell me why this is happening and what I can do? Thanks vu ...

How to change vga parameters?
Hi, My laptop has an ATI Radeon 7000 chip on board. After it is suspended, it cannot resume (no fan turn, screen blank). From forum of OPENSUSE, I find the following message I want to have a try. I do not know how to change the vga mode. Anyone can tell me that? Thanks. ..... ATI graphics chipsets Lately many machines i came across with ATI Radeon graphics chipsets did not work with any framebuffer (usually they hung inside the BIOS, not even capslock did work after trying to resume). They often worked fine with "vga=0" and "s2ram -f -p -m" or "s2ram -f -p...

Tricky bar plot
Hi, I am trying to do something with MatLab that I don't see an explicit command for. I have a 3 by 3 grid. I have two different models (call them M1 and M2) which produce some measurable quantity Z. I want to compare the effects of two different conditions (which we'll call conditions X and ~X) on the amount of quantity Z produced by both models. Each grid point (x_i,y_j) represents a level of two other parameters the models depend on X and Y (that can be conveniently discretized). My problem is that at *each* of the 9 grid points, I want to have 4 bar plots: i) A bar plot showing ...

HELP! My RSC extension have been changed in the Registry to "icnsfile"
Can anyone tell me what should be showing in the Registry ...it lists it as Default icofile. Ron Adams globalcd@infowest.com Ron Adams globalcd@infowest.com ...

Status bar text from context menu
Hi, Selecting item from main menu displays text in status bar, how to do the same with the context menu (displayed with TrackPopupMenu function)? Application type is SDI. TIA. Deli ...

A Question about Compiler (How to change??).
CIAO VERSION: 0.5.4 TAO VERSION : 1.5.4 ACE VERSION : 5.5.4 HOST MACHINE and OPERATING SYSTEM: Linux Component 2.4.20-8bigmem #1 SMP Thu Mar 13 17:32:29 EST 2003 i686 i686 i386 GNU/LinuxGNU/Linux (Redhat linux 9) gcc version: 3.2.2 20030222 (Red Hat Linux 3.2.2-5) THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-specific file, simply state which one]: config-linux.h THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you use a link to a platform-specific file, simply state which one (unless this is...