Thread: DirectX and C#
View Single Post
Old 09-02-2007, 04:16 PM   #1 (permalink)
MalGanis
Forum Novice
 
MalGanis's Avatar
 
Join Date: Dec 2005
Location: Slovenia
Age: 23
Posts: 339
Send a message via MSN to MalGanis
Default DirectX and C#

So im TabPage form and within that a Panel form. DirectX is binded with that panel. But im having some issues:
  • If i draw something in that panel with directX, when a TabPage opens/is selected/, it is blank, but if i resize (maximize, minimize,..) main window drawn stiff shows. I suspect Invalidate function is somehow overwriting directx.
  • If the image on directX is bigger than the panel, page itself it wont show scroll bars. I've tried setting propertie Width, Height of the panel or page but it wont work (panel has dock set to fill)

Any ideas?
__________________
A lawyer with a briefcase can steal more than a thousand men with guns.


Do NOT PM me asking if I will script for your shard or send you files or anything else along those lines.
MalGanis is offline   Reply With Quote