Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - SkinEffect for viewport
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SkinEffect for viewport

 Post Reply Post Reply
Author
Message
himanshu View Drop Down
Groupie
Groupie


Joined: 04 January 2008
Status: Offline
Points: 81
Post Options Post Options   Thanks (0) Thanks(0)   Quote himanshu Quote  Post ReplyReply Direct Link To This Post Topic: SkinEffect for viewport
    Posted: 23 January 2008 at 7:20am
hi
 
refering to the skinsdi example it is reading from the NormalBlue.ini file to provide the skin effect for Button,Combobox,Edit,Explorer,List,Progress,Rebar,Scrollbar,Spin,Status,Tab,
Taskbar,Toolbar,Window etc...
 
Is it possible to provide it for viewport as well .If  yes how?
 
Thanks
Himanshu
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 23 January 2008 at 1:49pm
Hi,
 
What do you mean by viewport?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 23 January 2008 at 4:54pm
Originally posted by oleg oleg wrote:

Hi,
 
What do you mean by viewport?


Now you disappointed me Oleg! Don't you remember the good old Borland Turbo C times with BGI (Borland Graphics Interface)?

Look into graphics.h in your Turbo C include directory:

struct viewporttype {
    int left, top, right, bottom;
    int clip;
};

void       far _Cdecl clearviewport(void);
void       far _Cdecl getviewsettings(struct viewporttype far *__viewport);
void       far _Cdecl setviewport(int __left, int __top, int __right, int __bottom,
                  int __clip);



Just kidding

Codejock support
Back to Top
himanshu View Drop Down
Groupie
Groupie


Joined: 04 January 2008
Status: Offline
Points: 81
Post Options Post Options   Thanks (0) Thanks(0)   Quote himanshu Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2008 at 4:49am
any update on this?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2008 at 4:57am

seriously, what is viewport for you?

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
himanshu View Drop Down
Groupie
Groupie


Joined: 04 January 2008
Status: Offline
Points: 81
Post Options Post Options   Thanks (0) Thanks(0)   Quote himanshu Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2008 at 6:03am
hi
 
In simple terms viewport is the viewing area of my application where i can
draw ,edit and view drawings that i make using openGL .
 
In MFC terms it can be a CView derived class for me where i show my data to application users.
 
 
 
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2008 at 8:38am

Hi,

How we can skin something that you draw manually in your own code ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.