xBrowse resource Pelles window styles?=> Solved

xBrowse resource Pelles window styles?=> Solved

Postby richard-service » Mon Jan 09, 2017 10:12 am

Hi
Same source code
Code: Select all  Expand view

oBrw := TXBrowse():New( oDlg )
...
oBrw:lVScroll := .T.
oBrw:lHScroll := .T.
oBrw:CreateFromResource( 301 )
 


Pelles C Window styles "0x50000000" or "0x50810000"
Image
not show VScroll and HScroll

Pelles C Window styles "0x50B10000"
Image
show VScroll and HScroll

I want to Pelles C Window styles "0x50000000" or "0x50810000" show VScroll and HScroll
Any suggestion?
Last edited by richard-service on Tue Jan 10, 2017 10:40 am, edited 1 time in total.
Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: xBrowse resource Pelles window styles?

Postby nageswaragunupudi » Mon Jan 09, 2017 2:03 pm

After redefining the browse, please try
Code: Select all  Expand view

oBrw:nStyle := nOr( oBrw:nStyle, WS_HSCROLL, WS_VSCROLL )
 
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: xBrowse resource Pelles window styles?

Postby richard-service » Mon Jan 09, 2017 6:02 pm

nageswaragunupudi wrote:After redefining the browse, please try
Code: Select all  Expand view

oBrw:nStyle := nOr( oBrw:nStyle, WS_HSCROLL, WS_VSCROLL )
 

Mr.Rao
Try this
Code: Select all  Expand view

oBrw := TXBrowse():New( oDlg )
oBrw:lVScroll := .T.
oBrw:lHScroll := .T.
oBrw:CreateFromResource( 301 )
oBrw:nStyle := nOr( oBrw:nStyle, WS_HSCROLL, WS_VSCROLL )
 

or this
Code: Select all  Expand view

oBrw := TXBrowse():New( oDlg )
oBrw:lVScroll := .T.
oBrw:lHScroll := .T.
oBrw:nStyle := nOr( oBrw:nStyle, WS_HSCROLL, WS_VSCROLL )
oBrw:CreateFromResource( 301 )
 

no response
Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: xBrowse resource Pelles window styles?

Postby nageswaragunupudi » Mon Jan 09, 2017 6:07 pm

Please try
Code: Select all  Expand view

oBrw:CreateFromResource( 301 )
oBrw:nStyle := nOr( oBrw:nStyle, WS_HSCROLL, WS_VSCROLL )
 
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: xBrowse resource Pelles window styles?

Postby richard-service » Mon Jan 09, 2017 6:13 pm

nageswaragunupudi wrote:Please try
Code: Select all  Expand view

oBrw:CreateFromResource( 301 )
oBrw:nStyle := nOr( oBrw:nStyle, WS_HSCROLL, WS_VSCROLL )
 

no response

if I set Pelles C Window styles "0x50B10000" and use below code
Code: Select all  Expand view

oBrw := TXBrowse():New( oDlg )
//oBrw:lVScroll := .T.
//oBrw:lHScroll := .T.
oBrw:nStyle := nOr( oBrw:nStyle, WS_HSCROLL, WS_VSCROLL )
oBrw:CreateFromResource( 301 )
 

Code: Select all  Expand view

oBrw := TXBrowse():New( oDlg )
//oBrw:lVScroll := .T.
//oBrw:lHScroll := .T.
oBrw:CreateFromResource( 301 )
oBrw:nStyle := nOr( oBrw:nStyle, WS_HSCROLL, WS_VSCROLL )
 

Response
Any idea?
I use Set Resource To "CraneERP.dll"
Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: xBrowse resource Pelles window styles?

Postby richard-service » Tue Jan 10, 2017 9:30 am

Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 73 guests