![]() |
SkinEffect for viewport |
Post Reply ![]() |
Author | |
himanshu ![]() Groupie ![]() Joined: 04 January 2008 Status: Offline Points: 81 |
![]() ![]() ![]() ![]() ![]() 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
|
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
What do you mean by viewport?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
ABuenger ![]() Newbie ![]() ![]() Joined: 02 February 2006 Status: Offline Points: 1075 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
|
himanshu ![]() Groupie ![]() Joined: 04 January 2008 Status: Offline Points: 81 |
![]() ![]() ![]() ![]() ![]() |
any update on this?
|
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
seriously, what is viewport for you? |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
himanshu ![]() Groupie ![]() Joined: 04 January 2008 Status: Offline Points: 81 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi, How we can skin something that you draw manually in your own code ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |