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 

Programming for a tablet

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+
View previous topic :: View next topic  
Author Message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 1524
Location: Yateley, Hants, UK

PostPosted: Tue Dec 27, 2016 4:44 pm    Post subject: Programming for a tablet Reply with quote

Has anyone got experience programming FTN95/Clearwin+ applications for a Windows tablet?

I programmed something up over 3 years ago in the expectation that it would run on a tablet eventually, but being reluctant to spend more than £50 Iíve finally just bought a cheapo tablet, and although it runs (good news) and when thereís input to do, the onscreen keyboard pops up automatically (even better news), there are lots of design issues that you just donít get on a PC or laptop. For example, spin controls are out because you canít select them with the necessary accuracy. The same goes for many types of graphics mode selections.

Also, when you rotate the tablet from landscape to portrait, a layout that works one way doesnít the other and if you can dynamically rearrange a window I have yet to find out how.

Iíve come to the conclusion that I need %ww[no_caption, super_maximise] and no menu bar to look right.

Any advice would be appreciated.
Back to top
View user's profile Send private message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 1524
Location: Yateley, Hants, UK

PostPosted: Fri Dec 30, 2016 9:41 pm    Post subject: Reply with quote

I'll take the lack of replies as either 'No' or the people who have don't work over Christmas!

FTN95.CHM tells us re: super_maximise (super_maximize):

"Displays only the client area (requires an accelerator key attached to the Escape key that restores the normal window)."

Well it does, but not on its own. Take the following source code:

Code:
      WINAPP
      PROGRAM TEST
      INCLUDE <WINDOWS.INS>
      EXTERNAL :: IFN
C      IA=WINIO@('%ca[test]&')
C      IA=WINIO@('%mn[test]&', IFN)
C      IA=WINIO@('%ww[super_maximise]&')
      IA=WINIO@('%ww[super_maximise,no_caption]&')
      IA=WINIO@('%gr[red]&', 500L, 500L)
      IA=WINIO@('%ff%bt[Exit]')
      END
      INTEGER FUNCTION IFN()
      IFN=1
      END


Comment out line 7 and restore line 6, and you do get a blank caption bar with a nondescript icon. super_maximise doesn't overcome a caption bar or menu bar if they are provided, as if you restore lines 4 &/or 5. As written with no menu provided and no_caption specified then it works as expected. (Windows 10 used).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+ 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