karthik wrote:
hi everyone,

i got the runtime error like,

window.c, Line:78, Bad window

if i give debug it points to the line,

WinSetDrawMode(winOverlay);

what its mean?

anyone know please help me.

Thanks with
karthik.


it means you are using this operation without having walid draw window. which means you may draw on place you don't want. so solution depends on what you need. you can delay drawing until window exists, or create it, or use whole screen.

to use whole screen you can call WinSetDrawWindow(WinGetDisplayWindow())

and its maybe good idea to check if there wasn't already some draw window set and if yes then return it back after you finish

--
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to