Click here to Skip to main content
15,929,025 members
Home / Discussions / C#
   

C#

 
GeneralRe: Out of memory Pin
Nish Nishant23-Jun-02 15:37
sitebuilderNish Nishant23-Jun-02 15:37 
GeneralRe: Out of memory Pin
Rüpel23-Jun-02 21:44
Rüpel23-Jun-02 21:44 
GeneralRe: Out of memory Pin
Chris Rickard24-Jun-02 5:12
Chris Rickard24-Jun-02 5:12 
GeneralHallo everybody Pin
24-Jun-02 6:23
suss24-Jun-02 6:23 
GeneralRe: Out of memory Pin
Rüpel25-Jun-02 23:06
Rüpel25-Jun-02 23:06 
GeneralHmmm Pin
26-Jun-02 0:27
suss26-Jun-02 0:27 
GeneralRe: Hmmm Pin
Rüpel26-Jun-02 2:55
Rüpel26-Jun-02 2:55 
GeneralRe: Out of memory Pin
Feng Qin25-Jun-02 15:12
Feng Qin25-Jun-02 15:12 
I meet the same problem when I want to write a ownerdraw menuitem, I find the steps to cause "Out of memory":
1.Override the "OnDrawItem", you can write nothing but "base.OnDrawItem(e)" clause;
2.Set a break point at the clause;
3.Start to run with debug (F5);
4.When the program runs to the break point, just wait for a moment (1~3minutes)to go to next step;
5.Now you can try to open a desktop's popmenu by right-clicking mouse, maybe you will see nothing because the system has no memory to draw it, when you move mouse to the place you think the popmenu will display, the system will try to draw it.
The classic phenomenon of gdi resource insufficient now appears.
6.Try the above steps for several times, "Out of memory" will occur Cry | :((

But I have nothing to do in "OnDrawItem"!!!!!

I'm amumu, and you?
GeneralHEEEEELP!!!! Pin
23-Jun-02 4:17
suss23-Jun-02 4:17 
GeneralRe: HEEEEELP!!!! Pin
SimonS23-Jun-02 5:20
SimonS23-Jun-02 5:20 
GeneralRe: HEEEEELP!!!! Pin
sultan_of_6string23-Jun-02 7:30
sultan_of_6string23-Jun-02 7:30 
GeneralRe: HEEEEELP!!!! Pin
Rama Krishna Vavilala23-Jun-02 7:46
Rama Krishna Vavilala23-Jun-02 7:46 
Generalthanks!!! Pin
23-Jun-02 9:12
suss23-Jun-02 9:12 
GeneralConventions.... Pin
23-Jun-02 2:16
suss23-Jun-02 2:16 
GeneralRe: Conventions.... Pin
23-Jun-02 9:35
suss23-Jun-02 9:35 
GeneralRe: Conventions.... Pin
leppie23-Jun-02 20:55
leppie23-Jun-02 20:55 
GeneralListView help... Pin
Vu Truong23-Jun-02 1:24
Vu Truong23-Jun-02 1:24 
GeneralRe: ListView help... Pin
23-Jun-02 9:37
suss23-Jun-02 9:37 
GeneralCrazy Form.... Pin
22-Jun-02 15:04
suss22-Jun-02 15:04 
GeneralGDI... I think Pin
22-Jun-02 10:13
suss22-Jun-02 10:13 
GeneralRe: GDI... I think Pin
23-Jun-02 9:04
suss23-Jun-02 9:04 
GeneralDodgy Access Database Pin
leppie22-Jun-02 5:29
leppie22-Jun-02 5:29 
GeneralRe: Dodgy Access Database Pin
leppie22-Jun-02 10:22
leppie22-Jun-02 10:22 
Questionhow to convert byte[] to String that code in unicode Pin
ygxdha22-Jun-02 3:52
ygxdha22-Jun-02 3:52 
AnswerRe: how to convert byte[] to String that code in unicode Pin
leppie22-Jun-02 4:48
leppie22-Jun-02 4:48 

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.