gtwvw status bar small change

  • Permalink
  • submit to reddit
  • Email
  • Follow


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
Reply abakkav 2/26/2011 3:52:29 PM

See related articles to this posting


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
Reply 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
Reply 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
Reply culikr 2/28/2011 3:55:59 PM
comp.lang.xharbour 4824 articles. 2 followers. Post

3 Replies
234 Views

Similar Articles

[PageSpeed] 50


  • Permalink
  • submit to reddit
  • Email
  • Follow


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. &...

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 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 ...

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,...

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...

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 -...

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 ...

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...

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...

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 ...

Hide status bar (not status area)
Is there a way to hide the status bar by using a script? Unfortunately not, unless you can convince your users to buy a Mac, it doesn't display the status bar. FP wrote: > Unfortunately not, unless you can convince your users to buy a Mac, it > doesn't display the status bar. Or possibly a little simpler: convince your users to go to the View menu and unmark it. But, no, there is unfortunately no way to do this by script. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Howard Schlossberg (818) 883-2846 FM Pro Solutions Los Angeles, California FileMa...

how to change the color of a particluar bar in a bar graph
Hi, I want to plot a grouped bar graph. When I do this, it takes red and blue by default as colors to plot [11 10 46 32 33 44]; in the form of a bar graph. I want the 46 and 32 bars to be black in color. How can I do that? Thanks... "Pragya " <pragoel12@yahoo.com> wrote in message <i2kav6$93t$1@fred.mathworks.com>... > Hi, > > I want to plot a grouped bar graph. When I do this, it takes red and blue by default as colors to plot [11 10 > 46 32 > 33 44]; > ...

Changing the positioning of bars in 3d bar graphs
Hi I have a 20x20 matrix K with values on and below the diagonal and zeros everywhere else. I need to plot these values as a 3D bar graph but I need to have the bars positioned in a specific manner. I need to have plot K(1,1) as a 3D bar, then next to it I need to plot K(2,1) and K(2,2) with K(2,1) slightly above K(1,1) and K(2,2) slightly below and so on. If viewed from directly above the the plane, the bars need to be positioned as follows: http://farm2.static.flickr.com/1201/1462783995_3731f16f32_o.jpg Can anyone assist? In article <fdoaho$gct$1@fred.mathworks.com>, spam@gmail.com...

!!! How to remove simulation status display in status bar ?
Hi All, I use the command: set_param(gcs,'SimulationCommand','Stop') to stop the running simulation in a script. This stops the running simulation but shows the time at which the simulation is stopped in the status bar of the model window. Does anybody know how to clear the information in the status bar ? Thanks in Advance... -Shiva Hi Shiva, interesting. Which version of MATLAB do you use? I tried this and get neither for R13 nor R14 this information but for both the status bar is empty... Titus "Shiva Kumar Kouda" <toshivakumar@yahoo.com> wrote in messag...

Progress bar in Status Bar or Menu Area
Does anyone know how to implement a Progress Bar display regardless of what window is open? IE, in the menu or Status Bar areas? Nathan Nathan, not quite sure which window you have in mind? <IE>? You could place a progress bar directly onto a toolbar band of any application window that has a toolbar. Of course it has to be your application. Michael "Nathan Robeson" <nathan@.nospam.voiceecue.com> wrote in message news:12hj1adij100682@news.supernews.com... > Does anyone know how to implement a Progress Bar display regardless of > ...

!!! How to remove simulation status display in status bar ? #2
Hi All, I use the command: set_param(gcs,'SimulationCommand','Pause') when some criteria is met in the code and then display a question dialog box whether to terminate or continue simulation. If user would like to terminate the simulation then I use set_param(gcs,'SimulationCommand','Stop') to stop the running simulation in M-File S-function . This stops the running simulation but shows the time at which the simulation is being stopped in the status bar of the model window. This is not the case when I control the simulation from MATLAB Command Window while the...

Status Bar
How do you modify the status bar? (The status bar is the bar on the bottom in IE. It should read "Done" now.) I'm pretty sure, this requires JavaScript. Thanks. The Numerator wrote: > How do you modify the status bar? (The status bar is the bar on the > bottom in IE. It should read "Done" now.) I'm pretty sure, this > requires JavaScript. Thanks. <URL:http://jibbering.com/faq/> Will you stop crossposting off-topic? F'up2 cljs PointedEars In alt.html, The Numerator wrote: > How do you modify the status bar? (The status bar is the bar o...

Status Bar
Hello, Does anyone know the registry hack to make the status bar hide on opening? In my runtime, if I toggle the status bar to hide, on open it is showing again with the quaint suggestion that there is real help at F1; which doesn't open my solution's help. In the registry I see lots of unnamed bars; would dearly like to know which one to set to visible (0). FMPro 5 W98SE. Hoped there would be a Toggle status bar script step. Thanks so much, -- Bill Jaynes Swan River Software 215 Williams Lane Bigfork MT 59911 sales@shesmylittle.com 406.837.4132 http://www.shesmylittle.com/index.htm ...

Status bar
Hello.How can I add on a JFrame a status bar line(line appear on the bottom left<->right of the frame).Thanks :) >How can I add on a JFrame a status bar line>(line appear on the bottom left<->right of the frame).You can change the title of the frame, but that is about it. If youwanted to use that space for additional gismos, you would have tosubclass JFrame.-- Roedy Green Canadian Mind ProductsThe Java Glossaryhttp://mindprod.com Roedy Green wrote:>>How can I add on a JFrame a status bar line>>(line appear on the bottom left<->right of the frame).>You c...

Small change
Changed the email. Check with 'h' if you want. thx. o-onarayano_o On Sat, 03 Sep 2005 17:29:59 +0200, narayan <narayan1@post.t-com.hr> wrote: >Changed the email. Check with 'h' if you want. > >thx. > >o-onarayano_o Sorry. Should have went to the comp.sys.amiga.misc. o-o_narayan-o_o > On Sat, 03 Sep 2005 17:29:59 +0200, narayan <narayan1@post.t-com.hr> wrote: > > >>Changed the email. Check with 'h' if you want. >> >>thx. >> >>o-onarayano_o > > > Sorry. Should...