Click here to Skip to main content
15,914,013 members
Home / Discussions / C#
   

C#

 
QuestionAdding a panel of specific size to a tabpage Pin
praveenqwe11-May-06 1:14
praveenqwe11-May-06 1:14 
AnswerRe: Adding a panel of specific size to a tabpage Pin
Wjousts11-May-06 2:22
Wjousts11-May-06 2:22 
GeneralRe: Adding a panel of specific size to a tabpage Pin
praveenqwe14-May-06 22:52
praveenqwe14-May-06 22:52 
QuestionDirectX with Windows.Forms controls performance Pin
241411-May-06 0:50
241411-May-06 0:50 
AnswerRe: DirectX with Windows.Forms controls performance Pin
Andy Moore11-May-06 3:37
Andy Moore11-May-06 3:37 
GeneralRe: DirectX with Windows.Forms controls performance Pin
241411-May-06 3:54
241411-May-06 3:54 
GeneralRe: DirectX with Windows.Forms controls performance Pin
Andy Moore11-May-06 6:46
Andy Moore11-May-06 6:46 
GeneralRe: DirectX with Windows.Forms controls performance Pin
241411-May-06 7:17
241411-May-06 7:17 
Thanks. Sorry - I wasn't entirely clear. If you put rendering and the UI on the same thread then no UI messages are processed while the rendering pass is going on. Yes, the rendering is not launched until all messages have been processed but once they have, the program waits until the rendering is done until processing the next batch. Thus the sluggish input for the cases when the rendering itself takes a long time (I think).

The idea was to put just the rendering in a separate thread to the UI. This causes all sorts of thread synchronization problems but once those are resolved you should be rendering and processing UI messages at the same time, making the controls respond instanteneously. This isn't happening, thus the question. Moreover, multithreading makes data management very tricky, which was why I was after a solution which would keep UI and rendering in the same thread but somehow give priority to processing UI control messages over rendering - not only between two render passes but also inside a single render pass.

Sigh, if only I could be sure that the users had a basic 20 pound AGP graphics card. But there's always those who want to run hi-res with all the fancy shaders on an integrated graphics chip. For these, I don't mind if the refresh rate on graphics is low as long as they can enter some data.

Cheers for any insight at all you can offer - utterly stuck for weeks now.


GeneralRe: DirectX with Windows.Forms controls performance Pin
Andy Moore11-May-06 7:38
Andy Moore11-May-06 7:38 
GeneralRe: DirectX with Windows.Forms controls performance Pin
241411-May-06 8:12
241411-May-06 8:12 
GeneralRe: DirectX with Windows.Forms controls performance Pin
Andy Moore11-May-06 8:21
Andy Moore11-May-06 8:21 
QuestionBuild Windows application from command prompt Pin
KishoreT11-May-06 0:45
KishoreT11-May-06 0:45 
AnswerRe: Build Windows application from command prompt Pin
Stefan Troschuetz11-May-06 0:58
Stefan Troschuetz11-May-06 0:58 
GeneralRe: Build Windows application from command prompt Pin
KishoreT11-May-06 1:33
KishoreT11-May-06 1:33 
GeneralRe: Build Windows application from command prompt Pin
Stefan Troschuetz11-May-06 3:33
Stefan Troschuetz11-May-06 3:33 
QuestionProblem in Passing structure by reference in c# Pin
analytiks11-May-06 0:39
analytiks11-May-06 0:39 
AnswerRe: Problem in Passing structure by reference in c# Pin
S. Senthil Kumar11-May-06 5:11
S. Senthil Kumar11-May-06 5:11 
QuestionUse c# dll in vb.6 Pin
Cliffer11-May-06 0:27
Cliffer11-May-06 0:27 
AnswerRe: Use c# dll in vb.6 Pin
Dave Kreskowiak11-May-06 3:45
mveDave Kreskowiak11-May-06 3:45 
AnswerRe: MVC game design question Pin
Robert Rohde11-May-06 1:01
Robert Rohde11-May-06 1:01 
Questionstrange problem Pin
rah_sin10-May-06 23:14
professionalrah_sin10-May-06 23:14 
AnswerRe: strange problem Pin
alexey N10-May-06 23:43
alexey N10-May-06 23:43 
GeneralRe: strange problem Pin
rah_sin10-May-06 23:57
professionalrah_sin10-May-06 23:57 
GeneralRe: strange problem Pin
alexey N11-May-06 0:05
alexey N11-May-06 0:05 
AnswerRe: strange problem Pin
albCode11-May-06 0:05
albCode11-May-06 0:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.