Click here to Skip to main content
15,886,137 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how can find how thread running in my application [modified] Pin
Nuri Ismail5-Jan-11 0:04
Nuri Ismail5-Jan-11 0:04 
GeneralRe: how can find how thread running in my application Pin
Le@rner5-Jan-11 1:12
Le@rner5-Jan-11 1:12 
QuestionReplace dialog in FormView Pin
jaknupp4-Jan-11 23:39
jaknupp4-Jan-11 23:39 
AnswerRe: Replace dialog in FormView Pin
bleedingfingers4-Jan-11 23:46
bleedingfingers4-Jan-11 23:46 
GeneralRe: Replace dialog in FormView Pin
jaknupp5-Jan-11 9:47
jaknupp5-Jan-11 9:47 
GeneralRe: Replace dialog in FormView Pin
bleedingfingers5-Jan-11 21:31
bleedingfingers5-Jan-11 21:31 
GeneralRe: Replace dialog in FormView Pin
jaknupp6-Jan-11 17:29
jaknupp6-Jan-11 17:29 
QuestionVisual Studio: Resources ID based on other resources ID Pin
Pascal_334-Jan-11 22:50
Pascal_334-Jan-11 22:50 
My problem: I need to give to icons resources identifiers values based on other (buttons) identifiers values.
example, if i have a button with CM_TEST identifier, i need to have a corresponding icon with a resource ID = CM_TEST+xxxx

I tried the method explained below without success
Including Shared (Read-Only) or Calculated Symbols
http://msdn.microsoft.com/en-us/library/zakskay9.aspx

my rc file contains:
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "dialogh2.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS


my dialogh2.h content some icons identifiers as:
#define IDI_OK  (IDOK+20000)
#define IDI_OK_DISABLED (IDOK+30000)
#define IDI_CANCEL  (IDCANCEL+20000)
#define IDI_CANCEL_DISABLED  (IDCANCEL+30000)

Result: all identifiers are not calculated and seems to get a value of 0.

some observations:

-icon property window show :
ID: "(IDOK+20000)"
(quotes are present)

-when displaying rc resource symbol dialog, my identifiers IDI_OK, IDI_OK_DISABLED ... don't appear (read-only symbols checkbox checked)

-I did some tests as :
#define IDI_OK (1+20000)
same result..
In all cases, identifiers seems to evaluate to 0 (because they become my app icon and i already have an app icon with ID = 1)


How to solve this problem ?
Thank you very much in advance
AnswerRe: Visual Studio: Resources ID based on other resources ID Pin
Richard MacCutchan5-Jan-11 0:38
mveRichard MacCutchan5-Jan-11 0:38 
GeneralRe: Visual Studio: Resources ID based on other resources ID Pin
Pascal_335-Jan-11 2:28
Pascal_335-Jan-11 2:28 
GeneralRe: Visual Studio: Resources ID based on other resources ID Pin
Richard MacCutchan5-Jan-11 7:11
mveRichard MacCutchan5-Jan-11 7:11 
QuestionRe: Visual Studio: Resources ID based on other resources ID Pin
CPallini5-Jan-11 1:10
mveCPallini5-Jan-11 1:10 
AnswerRe: Visual Studio: Resources ID based on other resources ID Pin
Pascal_335-Jan-11 2:20
Pascal_335-Jan-11 2:20 
GeneralRe: Visual Studio: Resources ID based on other resources ID [modified] Pin
CPallini5-Jan-11 2:22
mveCPallini5-Jan-11 2:22 
GeneralRe: Visual Studio: Resources ID based on other resources ID Pin
Pascal_335-Jan-11 2:44
Pascal_335-Jan-11 2:44 
GeneralRe: Visual Studio: Resources ID based on other resources ID Pin
CPallini5-Jan-11 3:10
mveCPallini5-Jan-11 3:10 
GeneralRe: Visual Studio: Resources ID based on other resources ID Pin
Pascal_335-Jan-11 5:29
Pascal_335-Jan-11 5:29 
GeneralRe: Visual Studio: Resources ID based on other resources ID Pin
Roger Broomfield5-Jan-11 12:46
Roger Broomfield5-Jan-11 12:46 
GeneralRe: Visual Studio: Resources ID based on other resources ID Pin
Pascal_335-Jan-11 22:02
Pascal_335-Jan-11 22:02 
GeneralRe: Visual Studio: Resources ID based on other resources ID Pin
CPallini6-Jan-11 4:09
mveCPallini6-Jan-11 4:09 
GeneralRe: Visual Studio: Resources ID based on other resources ID Pin
Pascal_336-Jan-11 5:49
Pascal_336-Jan-11 5:49 
GeneralRe: Visual Studio: Resources ID based on other resources ID Pin
CPallini6-Jan-11 6:00
mveCPallini6-Jan-11 6:00 
QuestionProblem: ISAPI Extension Add custom header Pin
theoneneo244-Jan-11 22:47
theoneneo244-Jan-11 22:47 
QuestionProblem with WaitForSingleObject Pin
Amol Jaikar4-Jan-11 21:09
Amol Jaikar4-Jan-11 21:09 
AnswerRe: Problem with WaitForSingleObject Pin
Rajesh R Subramanian4-Jan-11 21:20
professionalRajesh R Subramanian4-Jan-11 21:20 

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.