f



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 5392 articles. 0 followers. Post Follow

3 Replies
392 Views

Similar Articles

[PageSpeed] 57

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:

gtwvw and status bar
Hi Anybody can see why it is and can be corrected In the example below, the height of the statusbar changes and a black line appears after www_tbcreate(). =========================== FUNC main() SetColor( 'w/b,N/GR*,,,w/n*' ) cls wvw_showwindow() wvw_SBCreate() inkey(0) hWndTB := wvw_tbcreate() inkey(0) return NIL -- regards, Anatole ...

The Status Bar Change
Hope that someone can help with this minor problem. Please note that my experiments with the language is only for learning not to annoy! Will someone please explain what is causing this event not to work: <a href="pr7_2.html" onMouseOver="window.status='My last project'; return true;" onMouseOut="window.status=' '; return true;"> Events</a> I get no status in the status-bar of ie 8. window 2003 2.8 gz intel 1.5 GB RAM Thanks jturner5569@gmail.com jturner5569 wrote: > Hope that someone can help with this minor problem. &...

How to Change T3 Status Bar?
I have a T3, but seldom use its bluetooth capability. How do I chang my status bar, so that I can configure the bluetooth button to launc something else -- MagiClick - The Best Palm OS Game: www.palmgear.com/?xyz=9672 ...

Change settings for status bar
XP pro, IE, automatically shows 'current time'. If I write javascript that gives a status bar message, the message appears quickly, then XP status bar goes back to showing the current time. This is not helpful. How do I get rid of IE status bar always showing time and just show whatever I tell it to show? self.defaultStatus = ""; By independent surveys, 99% of users do not pay any attention to the status bar after the page is finished loading, so treaking/tweaking status bar is an overall waste of time. Maybe you want to try tooltips instead? Like this one: http://ww...

How to change (programmatically) the status bar
The default Paradox 9 Status Bar Modes value is "Size = Two Lines". We would like to change that parameter with Opal into "Size = One Line". Does anybody know how to change that parameter? Thank you in advance, Melle J. de Jong http://atlasbusinesssoftware.com -- Message posted via http://www.dbmonster.com > Does anybody know how to change that parameter? In P10 it's ShowApplicationBar(False) Not sure about P9. Anders Jonsson Thank you for your help. This is works great, also in P9. Once again thanks, Melle J. de Jong, ...

how to disable tool bar,menu bar, status bar?
hello command: <STYLE type="text/css">BODY {status: none; scrollbar: none; toolbar: none;} doesn't work :/ i want to have a window without all adds like bar with "file", "edit" and "back", "history" etc. thanks for the clue. greetings On Tue, 12 Oct 2004 15:42:55 +0200, whebcichy <whebcichy@infinity.net.pl> wrote: > hello > command: > > <STYLE type="text/css">BODY {status: none; scrollbar: none; toolbar: > none;} > > doesn't work :/ 1) It's not a ...

Status Bar, how to change panel color?
Hi, Using VB6. I can't seem to find anything on changing the foreground and background Color for the status bar panels. Any help is much appreciated. jt The code below re-parents a picturebox into a status bar panel. Having done that, you can do anything you want with the picturebox's back/fore colors, etc. However, you might want to check out the CCRP Status Bar: http://ccrp.mvps.org/download/ccrpdownloads.htm Option Explicit Private Declare Function SetParent Lib "user32" _ (ByVal hWndChild As Long, _ ByVal hWndNewParent As Long) As Long Dim m_hPrevPbParent As Lon...

How to prevent the toolbar from changing the status bar text?
Hello, well, the subject says it all. When I have a frame with both toolbar and statusbar hovering mouse over toolbar icons (tools) changes the text in status bar. I want to prevent this. Also, when mouse moves outside of toolbar, statusbar text gets blank. If it is not possible to prevent updating, I'd at least like to have some message when mouse is not over toolbar. I tried with PushStatusText, but it doesn't seem to work. TIA -- Milan Babuskov http://www.flamerobin.org --------------------------------------------------------------------- To unsubscribe,...

progress bar in the status bar
Hi, is it possible to have a progress bar in one of the fields of the status bar of a frame? > is it possible to have a progress bar in one of the fields of > the status bar of a frame? Yes it is! Look at wxGauge. I do something like: .... wxRect rect; m_statusBar->GetFieldRect(1,rect); m_gauge = new wxGauge( m_statusBar, -1, 0, wxPoint(rect.x,rect.y), wxSize(rect.GetWidth(), rect.GetHeight()), wxGA_HORIZONTAL | wxNO_BORDER ); .... Good luck! --------------------------------------------------------------------- Please read http://www...

Change Status greyed out
I had to reconstruct my Out box because of a software error which had defaulted the message status of all mails to a uniform red (crossed) ball. The '.001' and '.002'-versions of the Out.toc and -.mbx were of no avail. Thanks to other backup files I could restore it all but for the last few days. Now when I right-click the Status column for a particular message belonging to those last days, the 'Change Status'-options are all greyed out. I want for example, change the status to 'Sent'. of the How can I accomplish this? On Thu, 23 Jul 2009 09...

javascript to disable the title bar, status bar, and address bar of a window
I want to disable the title bar, status bar and address bar of a window, but I couldn't find the syntax. I tried the following but not working. any ideas?? window.document.statusbar.enable = false; window.document.titlebar.enable = false; window.document.addressbar.enable = false; <html> <title>hey</title> <script type="text/javascript"> function changetitle() { alert(window.document.title); window.document.title = "heyhey"; window.document.statusbar.enable = false; alert(window.document.title); } </script> <body onload="c...

bar and barseries question: how to change color of individual bar within a group of bars
Question about 'barseries' and 'bar': Upon passing a matrix to the 'bar' command, the first row is plotted as one group of bars, the second row is plotted as the next group of bars to the right of the first group (following an automatically inserted separator space between the two groups), and so forth. A property (such as 'FaceColor') of each such group can then be changed using the 'barseries' object -- for example, all bars in the second group of bars can be made blue. However, *within* a group of bars, to me it doesn't seem possible in Matlab ...

Small glitch in BWidgets MainFrame's status bar
Hello out there, Bwidgets MainFrame automagically displays any hints/description you defined for a menu item in its status bar when the mouse is over this item. So if you click on 'File' and then move down to 'Load', 'Save' etc. the respective hint is displayed. So far so good. However, if you leave the button pressed and move over to the 'Edit' menu, the last hint still shows until the mouse is actually over one of the items in 'Edit'. Nothing serious, but a bit annoying. Is there a means to change this? Can I attach some code e.g. to the unpost event -...

changing title & removing status bar from a pop up window
hi guys, i have simple problem with my pop up window my code is .... <html> <head> <script type="text/javascript> function open_window(){ window.open("","","channelmode=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0,height=100,width=100"); } </script> </head> <body> <a onclick="open_window();"> Click here</a> </body> </html> this code opens a new pop up window with words written 'about: Mozilla Firef...

Web resources about - gtwvw status bar small change - comp.lang.xharbour

Statue - Wikipedia, the free encyclopedia
A small statue, usually small enough to be picked up, is called a statuette or figurine . The definition of a statue is not always clear-cut; ...

Statue - Wikipedia, the free encyclopedia
A small statue, usually small enough to be picked up, is called a statuette or figurine . The definition of a statue is not always clear-cut; ...

Oxford keeps statue of colonialist Rhodes
An Oxford University college will keep a statue of 19th century colonialist Cecil Rhodes on display.

Angola: Land-Grabbing As a Path to Riches and Status in Angola
Analysis - Angolan investigative journalist and human rights defender Rafael Marques de Morais has submitted a complaint to the Office of the ...

The Next High-Upside MLB Hitters Who Will Ascend to Superstar Status in 2016
Kyle Schwarber and Mookie Betts are the kind of phenoms who just aren't playing around. In 2015, the Chicago Cubs' masher and the Boston Red ...

Mediaite’s Concha: Trump ‘At Stage 5 Stalker Status’ With Megyn Kelly, Like He’s In ‘Fatal Attraction’ ...
Mediaite's Concha: Trump 'At Stage 5 Stalker Status' With Megyn Kelly, Like He's In 'Fatal Attraction'

Oxford Refuses To Take Down Cecil Rhodes Statue, Infuriating Activists
Oxford Refuses To Take Down Cecil Rhodes Statue, Infuriating Activists

The Lakers Are Honoring Shaq With A Pretty Awesome Statue
The Los Angeles Lakers announced that they will be building a statue to honor Shaquille O’Neal, and it will be unveiled outside of their home ...

Statues of Greek Gods Unearthed in Crete
The sculptures date to the first or second century AD and stand at around 21 inches in height.

President's Rule in Arunachal: Why BJP, Congress should stop pigeon-and-statue game of hypocrites
The current finger-pointing and breakout of an epidemic of righteous indignation on the imposition of President's Rule in Arunachal Pradesh remind ...

Resources last updated: 2/3/2016 6:20:08 PM