Click here to Skip to main content
15,919,245 members

Comments by Gbenbam (Top 200 by date)

Gbenbam yesterday View    
Its sad and unfortunate that in spite of your insult and caustic comment, your solution is near no where correct. Th short, simple and correct answer is : Nothing will happen.

Your solution is not only incorrect. It is extremely incorrect. Why do like acting and talking as if you are superior to others? Stated verbosely, the correct answer is: There is no need to check anything or write any program because nothing will happen. How about apologising for passing insult when you actually didn't know the actual answer.
Gbenbam yesterday View    
Don't you think this you comment is insulting. It translates to saying, "Its really unfortunate, you still can't work something for yourself. Aren't you a failure?". Years back I used to feel displeased when my questions get deleted. I think I prefer having my question deleted than having anyone pass insult on me. Mod's, I consent to you deleting any question I post that you think are inappropriate without my consent.

@OriginalGriff if you area a mod, don't hesitate to delete any question I post that you think is inappropriate. That's better than passing insult. This is a public forum, everyone ought to be civil and tolerant and not throwing caustic words around.

I used MFC for years. Many of these things are done wffortlessly with MFC. But, then, this is WIN32.
Gbenbam 2 days ago View    
This question has been superceeded by this question : https://www.codeproject.com/Questions/5383855/How-do-I-disable-an-accelerator-item-for-a-menu-it

Tha new question clearly shows the true intent, unfortunately it appears questions that already have answers cannot be modified.
Gbenbam 2 days ago View    
How I used to go about it is to create an accelerator table in the resource and load accelerators table and ensure the message loop translates my accelerators. That all. I don't do any other thing. That's my understanding of handling accelerators. No extra programming. What will happen if an accelerator is activated for a menu item THAT I PROGRAMATICALLY DISABLED? I hope my question is clearer now. I am sorry, your solution is far from clear. I did not get the message or see the solution.
Gbenbam 11-Jun-24 11:12am View    
My question was on how to print from memory dc using stretchBlt because that handles differences in resolution issue. I know it is possible because I have done it before but only could not remember exactly how.

The above code perfectly does want I wanted to do. So, yes, this solves my issue.