Click here to Skip to main content
15,888,984 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Default edit/richeditctrl text selection allows easy delete after tab key to control. [modified] Pin
Justin Tay24-Aug-06 9:17
Justin Tay24-Aug-06 9:17 
GeneralRe: Default edit/richeditctrl text selection allows easy delete after tab key to control. Pin
lctrncs24-Aug-06 14:32
lctrncs24-Aug-06 14:32 
GeneralRe: Default edit/richeditctrl text selection allows easy delete after tab key to control. Pin
Justin Tay24-Aug-06 15:30
Justin Tay24-Aug-06 15:30 
GeneralRe: Default edit/richeditctrl text selection allows easy delete after tab key to control. Pin
lctrncs24-Aug-06 15:33
lctrncs24-Aug-06 15:33 
GeneralRe: Default edit/richeditctrl text selection allows easy delete after tab key to control. Pin
Justin Tay24-Aug-06 15:47
Justin Tay24-Aug-06 15:47 
GeneralRe: Default edit/richeditctrl text selection allows easy delete after tab key to control. Pin
lctrncs24-Aug-06 21:21
lctrncs24-Aug-06 21:21 
GeneralRe: Default edit/richeditctrl text selection allows easy delete after tab key to control. Pin
lctrncs25-Aug-06 3:55
lctrncs25-Aug-06 3:55 
QuestionApp Icon not showing correctly on desktop Pin
$motty24-Aug-06 8:05
$motty24-Aug-06 8:05 
Hello everyone,
my Prob is not really MFC related I think, but I didnt find a better spot.

So, I have a SDI app, in which I have the normal IDR_MAINFRAME thing and a corresponding icon.
But I also use xp style menus, where I use icons, which are NOT published in the "Resource.h". If do so, the icons dont show up anymore in my contextmenus. But if I dont publish them in the resource.h then my application icon is somehow overwritten. That means the icon shown for my app is the last icon I added for my menus.

Resource.h
<br />
#define IDR_MAINFRAME 24<br />
#define IDI_BROWSER  123<br />


App.rc
<br />
IDR_MAINFRAME ICON res\\app.ico<br />
IDI_BROWSER  res\\browser.ico<br />

if I put it like that, then the desktop icon is correct, but my icons dont show in the contextmenus
if I remove the line #define IDI_BROWSER 123, then my menus show the icons, but my app icon is all of a sudden the browser icon, or the last icon I added to the menu icons in the app.rc. I also tried rearanging the order, because it says the lowest number is the programms icons...didnt help. Or did I change orders in the wrong place ?
The mainapp window icon never changes, that is allways the correct app.ico

So my actual question is :
What can I do about that?
How can I manually influence, which icon is shown on the desktop? Where is that set?

Thanks a lot for any small hint!
Best regards $motty
AnswerRe: App Icon not showing correctly on desktop Pin
Waldermort24-Aug-06 8:34
Waldermort24-Aug-06 8:34 
GeneralRe: App Icon not showing correctly on desktop Pin
$motty24-Aug-06 12:04
$motty24-Aug-06 12:04 
GeneralRe: App Icon not showing correctly on desktop Pin
Waldermort24-Aug-06 14:37
Waldermort24-Aug-06 14:37 
GeneralRe: App Icon not showing correctly on desktop Pin
$motty24-Aug-06 20:58
$motty24-Aug-06 20:58 
GeneralRe: App Icon not showing correctly on desktop Pin
Waldermort24-Aug-06 22:51
Waldermort24-Aug-06 22:51 
GeneralRe: App Icon not showing correctly on desktop [modified] Pin
$motty25-Aug-06 4:53
$motty25-Aug-06 4:53 
Questionsend message to Yahoo user Pin
Silly Boy24-Aug-06 7:15
Silly Boy24-Aug-06 7:15 
QuestionRe: send message to Yahoo user Pin
David Crow24-Aug-06 7:37
David Crow24-Aug-06 7:37 
AnswerRe: send message to Yahoo user Pin
jk chan24-Aug-06 14:27
jk chan24-Aug-06 14:27 
AnswerRe: send message to Yahoo user Pin
ThatsAlok24-Aug-06 18:08
ThatsAlok24-Aug-06 18:08 
QuestionChanging bitmaps using UpdateResource Pin
Kharfax24-Aug-06 7:09
Kharfax24-Aug-06 7:09 
AnswerRe: Changing bitmaps using UpdateResource Pin
David Crow24-Aug-06 7:36
David Crow24-Aug-06 7:36 
GeneralRe: Changing bitmaps using UpdateResource Pin
Kharfax24-Aug-06 7:46
Kharfax24-Aug-06 7:46 
GeneralRe: Changing bitmaps using UpdateResource Pin
$motty24-Aug-06 8:18
$motty24-Aug-06 8:18 
GeneralRe: Changing bitmaps using UpdateResource Pin
Kharfax24-Aug-06 8:27
Kharfax24-Aug-06 8:27 
GeneralRe: Changing bitmaps using UpdateResource Pin
jk chan24-Aug-06 14:42
jk chan24-Aug-06 14:42 
GeneralRe: Changing bitmaps using UpdateResource Pin
Kharfax25-Aug-06 2:21
Kharfax25-Aug-06 2:21 

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.