forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

All options %dw

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
weaverwb



Joined: 04 Aug 2005
Posts: 37
Location: Monterey

PostPosted: Mon Aug 22, 2005 2:20 pm    Post subject: All options %dw Reply with quote

Hi,

I'm trying to make a resizable bit-mapped window for SimplePlot with full mouse support; namely, add a pivot and user resize capabilities to the following statement:

iAns = WINIO@('%^dw[full_mouse_input]', HDC_DIM % iBitmapDC,icb)

as advertised in the docs, I can't do it. How do I pass the bitmap back to ClearWin if I take out the argument?

Thanks,
Bruce

Bruce Weaver
_________________
Bruce+Weaver
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 5460
Location: Salford, UK

PostPosted: Tue Aug 23, 2005 12:54 pm    Post subject: All options %dw Reply with quote

I am a little puzzled by your aim.
%dw provides a relatively low-level control that acts as a "drawing surface" for Windows API drawing routines such as DrawText.
In contrast %pl provides a "drawing surface" for SimplePlot routines.
Normally you would choose between using either %pl or %dw.
In fact %dw is a old control that was effectively made redundant by %gr.
%pl is usually prefered to %gr when drawing graphs.

You should probably confine your attention to %pl and investigate the advanced SimplePlot features that are described in the Silverfrost Knowledge base.
Back to top
View user's profile Send private message
Anonymous
Guest





PostPosted: Thu Sep 01, 2005 12:18 pm    Post subject: All options %dw Reply with quote

Thanks for the guidance...changing to pl worked but I still seem to be unable to make it a MDI. Is it that I can't have multiple simpleplots open at a time, even with pl? Is there any way to have multiple simpleplots open at a time? If there is, a code fragement would be great.

Thanks

Bruce Weaver
Back to top
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group