Search found 15 matches: clientedge

Return to advanced search

Re: controls on dialog init/not init

... (ON INIT) the controls use pixels. It always looks as a bug... The really strange thing is the style of TGet, in the first case they have the clientEdge, in the second case they look with square brackets...
by AntoninoP
Wed Jul 01, 2015 2:45 pm
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: controls on dialog init/not init
Replies: 4
Views: 1576

Re: "Snap" for Clipper

...  1313  1906  1945  1946  1947  2064  2073                   2074  2074  2518  3260  3278  3437  3712  3856  3858  3931                   3933 CLIENTEDGE()           (function  in ?)    WINDOW.PRG      880 CLIENTTOSCREEN()       (function  in ?)    WINDOW.PRG     3540 CLOCALS               ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
 
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 6689

Re: XBrowse Win7 Bar New Sample

Dear All, "Error in creating dialog". I tried to use the class using resource and that error appeared. Does anyone has a sample using resource. please post it. BTW, here's my resource declaration: DLG_MAIN DIALOGEX -2,-16,387,255 FONT 8,"MS Sans Serif",0,0,0 STYLE WS_POPUP|WS_VIS...
by amnunez
Tue Feb 15, 2011 12:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse Win7 Bar New Sample
Replies: 61
Views: 13478

Yes, I do it. You know the others value ? #define WS_EX_ABSPOSITION ­ #define WS_EX_ACCEPTFILES #define WS_EX_CLIENTEDGE 512 #define WS_EX_CONTEXTHELP #define WS_EX_CONTROLPARENT #define WS_EX_DLGMODALFRAME #define WS_EX_LEFT #define WS_EX_LEFTSCROLLBAR­ #define WS_EX_LTRREADING #define WS_EX_MDICHI...
by Natter
Tue Jun 17, 2008 8:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: window styles
Replies: 13
Views: 2733

Natter,

OK, it seems like it also wants another file.

Try this instead. Instead of putting #include "winuser.h" do this:

#define WS_EX_CLIENTEDGE 512

That should solve it.

James
by James Bott
Tue Jun 17, 2008 8:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: window styles
Replies: 13
Views: 2733

Natter,


I used this

...
ON INIT ownd:oWndClient:ClientEdge()

..
by fraxzi
Tue Jun 17, 2008 4:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: window styles
Replies: 13
Views: 2733

Thank, Antonio ! I do it. But I get error

"Variable WS_EX_CLIENTEDGE not found"

I must insert #INCLUDE *.ch to my program for description this WS_EX_
variables, but I found this in Winuser.h only
by Natter
Mon Jun 16, 2008 7:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: window styles
Replies: 13
Views: 2733

Better do it this way, as it is an extended style: #define GWL_EXSTYLE (-20) SetWindowLong( oWnd:hWnd, GWL_EXSTYLE, WS_EX_CLIENTEDGE ) or SetWindowLong( oWnd:hWnd, GWL_EXSTYLE, nOr( GetWindowLong( oWnd:hWnd, GWL_EXSTYLE ), WS_EX_CLIENTEDGE ) ) to keep the previous extended style too
by Antonio Linares
Mon Jun 16, 2008 6:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: window styles
Replies: 13
Views: 2733

Natter,

You may use the clause STYLE:

DEFINE WINDOW oWnd STYLE nOr( WS_OVERLAPPEDWINDOW, WS_EX_CLIENTEDGE )
by Antonio Linares
Mon Jun 16, 2008 6:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: window styles
Replies: 13
Views: 2733

window styles

Hi all !
I want set styles for window as WS_EX_CLIENTEDGE. I found this style in Borland\BCC55\Include\winuser.h
How I can use this file in my programm
by Natter
Mon Jun 16, 2008 6:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: window styles
Replies: 13
Views: 2733

Rick, I am still getting my feet wet in the Windows arena so I still have a lot to learn. I created a simple dialog and this is what ResEd (NOT ResEdit) created. #define IDD_DLG1 1000 #define IDC_STC1 1001 IDD_DLG1 DIALOGEX 4,3,146,81 CAPTION "IDD_DLG" FONT 14,"Times New Roman",7...
by Ken Wantz
Mon Feb 25, 2008 5:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Better Resource Editor?
Replies: 19
Views: 6834

window methods

... on these methods. In particular I would be glad if some light can be thrown on the use and potential of methods/data like :taskbar(), bTaskBar, :ClientEdge(), ::NcActivate()
by nageswaragunupudi
Tue Nov 06, 2007 5:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: window methods
Replies: 1
Views: 483

xharbour from xharbour.com and fwh aug release Problems

When I try to make fwh samples I get the following error file. What do I have to do ? Thanks Mike. Type: C >>>xhb.exe -o"bigfold.c" -m -n -w -p -q -gc0 -I"C:\FWH\INCLUDE" -I"C:\fwh\include" -I"C:\xHB\include" -I"C:\xHB\include\w32" "bigfold.prg"<<< xHarbour Compiler build 0.99.61 (...
by Mike Buckler
Mon Sep 11, 2006 9:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xharbour from xharbour.com and fwh aug release Problems
Replies: 7
Views: 2023

Riccardo,

WS_BORDER has to be removed and in source\winapi\mgetcrea.c:

BOOL lIsAppThemed = FALSE;

...

BOOL _IsAppThemed( void );

lIsAppThemed = _IsAppThemed();

_retnl( ( LONG ) CreateWindowEx( lIsAppThemed ? WS_EX_CLIENTEDGE: 0,
...
by Antonio Linares
Mon Dec 05, 2005 12:06 pm
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: Themed TGet on windows (fixed)
Replies: 14
Views: 8846

Roberto,

Its fixed! :) Thanks to Master Hernan Diego!

Just changes these lines,

winapi\mgetcrea.c:

#ifndef UNICODE
_retnl( ( LONG ) CreateWindowEx( WS_EX_CLIENTEDGE,
_parc( 1 ), ...

classes\tget.prg:

remove WS_BORDER style.
by Antonio Linares
Mon Nov 07, 2005 5:20 am
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: Themed TGet on windows (fixed)
Replies: 14
Views: 8846

Return to advanced search