Re: underclared indentifier "WS_TABSTOP"
- From: "larry" <larryfergy6@xxxxxxxxx>
- Date: 4 Oct 2005 07:53:05 -0700
jacob navia wrote:
> larry wrote:
>
> > This is the Pickdate program I downloaded from John Findley page. My
> > lccwin version is probably a year old. Don't have internet connection
> > now , So I have to rely on the library for now.
> > The offending error appears in the Button function as follows
> >
> > HWND Button(char*Text.HWND hWnd, int id, int X, int Y, int W, int H)
> > {
> > HWND A;
> > A=CreatWindowEx(WS_Ex_STATEICEDGE,"button",Text,
> > WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON|WS_TABSTOP, // the error
> > X*BCX_ScaleX,Y*BCX_ScaleY.W*BCX_ScaleX,H*BCX_ScaleY,
> > hWnd,(HMENU)id.BCX_hInstance.NULL);
> > SendMessage(A.(UINT)WM_SETFONT,(WPARAM)GetStockObject(DEFAULT_GUI_
> > Return a;
> > }
> >
> > error undeclared indentifier "WS_TABSTOP"
> > I can't find any WS_CHILD OR WS_VISIBLE OR BS_PUSHBUTTON OR WS_TABSTOP
> > documentation using f1 on CreateWindowEX
> >
> > Is this a WIN.h problem ?
> >
> WS_TABSTOP is defined at line 2456 of win.h:
> #define WS_TABSTOP 0x10000
>
> did you include <windows.h> ?
I did include win.h earlier but I removed it when I recieved alot more
compile errors. I tried your define statement but that had no effect. I
just was able to download a new version of the lccwin compiler on cd
here at the library. Maybe the newer version of lccwin will help.
.
- References:
- underclared indentifier "WS_TABSTOP"
- From: larry
- Re: underclared indentifier "WS_TABSTOP"
- From: jacob navia
- underclared indentifier "WS_TABSTOP"
- Prev by Date: lcc-Win32 setup window has no height
- Next by Date: Re: underclared indentifier "WS_TABSTOP"
- Previous by thread: Re: underclared indentifier "WS_TABSTOP"
- Next by thread: Re: underclared indentifier "WS_TABSTOP"
- Index(es):