Click here to Skip to main content
15,891,473 members
Home / Discussions / C#
   

C#

 
GeneralRe: Getting the active control type Pin
leppie2-Jun-03 7:57
leppie2-Jun-03 7:57 
GeneralGetDlgCtrlID() API function doesn't work in .NET Pin
Roman Muntyanu2-Jun-03 3:14
Roman Muntyanu2-Jun-03 3:14 
GeneralGDI+, removinf flicker. Pin
Nigma2-Jun-03 2:17
Nigma2-Jun-03 2:17 
GeneralRe: GDI+, removinf flicker. Pin
Philip Fitzsimons2-Jun-03 2:59
Philip Fitzsimons2-Jun-03 2:59 
GeneralRe: GDI+, removinf flicker. Pin
J. Dunlap2-Jun-03 8:12
J. Dunlap2-Jun-03 8:12 
GeneralRe: GDI+, removinf flicker. Pin
James T. Johnson2-Jun-03 10:52
James T. Johnson2-Jun-03 10:52 
GeneralC# and Managed DirectX Invalid Rectangle Pin
EvilDingo2-Jun-03 2:10
EvilDingo2-Jun-03 2:10 
GeneralRe: C# and Managed DirectX Invalid Rectangle Pin
James T. Johnson2-Jun-03 10:59
James T. Johnson2-Jun-03 10:59 
Having only a little knowledge of DirectX I can only offer somethings I remember from long ago. In unmanaged DX there was a Clipper object that you had to attach to your window to ensure you didn't draw off the window (I assume the screen as well). Maybe that will help.

Now the real reason I replied:

EvilDingo wrote:
in my DirectX program, using the EXACT same settings, files, and resources it says it can't find "bitmap.png" resource in that class.

Refer to my Embedded Resources[^] article for more indepth information but I have a couple ideas off-hand.

1) Make sure you set the Build Action on your .png to 'Embedded Resource'.

2) Rather than using GetType, use typeof(MyType). When you later decide to derive a class from that one (maybe in another assembly or a different namespace) you'll eliminate any problems arising from GetType now returning a different Type object.

James

"I despise the city and much prefer being where a traffic jam means a line-up at McDonald's"
Me when telling a friend why I wouldn't want to live with him

GeneralRe: C# and Managed DirectX Invalid Rectangle Pin
EvilDingo3-Jun-03 1:36
EvilDingo3-Jun-03 1:36 
GeneralRe: C# and Managed DirectX Invalid Rectangle Pin
Anonymous3-Jun-03 1:58
Anonymous3-Jun-03 1:58 
GeneralRe: C# and Managed DirectX Invalid Rectangle Pin
James T. Johnson3-Jun-03 2:00
James T. Johnson3-Jun-03 2:00 
GeneralRe: C# and Managed DirectX Invalid Rectangle Pin
EvilDingo3-Jun-03 4:27
EvilDingo3-Jun-03 4:27 
GeneralSelected row from a ListView Pin
quicksilver02022-Jun-03 1:03
quicksilver02022-Jun-03 1:03 
Generalexisting code from c++ Pin
stonee741-Jun-03 22:26
stonee741-Jun-03 22:26 
GeneralGif compression using Save method on bitmap class Pin
christiantoivola1-Jun-03 22:08
christiantoivola1-Jun-03 22:08 
GeneralRe: Gif compression using Save method on bitmap class Pin
Richard Deeming1-Jun-03 23:33
mveRichard Deeming1-Jun-03 23:33 
Generalshow tooltip Pin
grv5751-Jun-03 20:16
grv5751-Jun-03 20:16 
GeneralRe: show tooltip Pin
Singh, Manish2-Jun-03 20:44
Singh, Manish2-Jun-03 20:44 
GeneralSystem.NullReferenceException in RichTextBox while dynamically adding text Pin
CNU1-Jun-03 19:58
CNU1-Jun-03 19:58 
GeneralCreate a remort object in C# Pin
Gaurika Wijeratne1-Jun-03 17:54
Gaurika Wijeratne1-Jun-03 17:54 
GeneralRe: Create a remort object in C# Pin
Kannan Kalyanaraman1-Jun-03 22:17
Kannan Kalyanaraman1-Jun-03 22:17 
GeneralRe: Create a remort object in C# Pin
Gaurika Wijeratne1-Jun-03 22:39
Gaurika Wijeratne1-Jun-03 22:39 
Generalurgent help needed, event handler Pin
mtrx1-Jun-03 17:35
mtrx1-Jun-03 17:35 
GeneralRe: urgent help needed, event handler Pin
Ray Cassick1-Jun-03 17:55
Ray Cassick1-Jun-03 17:55 
GeneralRe: urgent help needed, event handler Pin
mtrx2-Jun-03 3:41
mtrx2-Jun-03 3:41 

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.