Click here to Skip to main content
14,484,942 members

C / C++ / MFC

 
GeneralRe: Color difference between old and new application Pin
gopi_cpp25-Aug-15 23:12
Membergopi_cpp25-Aug-15 23:12 
GeneralRe: Color difference between old and new application Pin
Richard MacCutchan25-Aug-15 23:23
mveRichard MacCutchan25-Aug-15 23:23 
GeneralRe: Color difference between old and new application Pin
gopi_cpp26-Aug-15 0:45
Membergopi_cpp26-Aug-15 0:45 
SuggestionRe: Color difference between old and new application Pin
Richard MacCutchan26-Aug-15 0:53
mveRichard MacCutchan26-Aug-15 0:53 
GeneralRe: Color difference between old and new application Pin
gopi_cpp26-Aug-15 1:00
Membergopi_cpp26-Aug-15 1:00 
GeneralRe: Color difference between old and new application Pin
Richard MacCutchan26-Aug-15 1:02
mveRichard MacCutchan26-Aug-15 1:02 
AnswerRe: Color difference between old and new application Pin
basementman4-Sep-15 4:21
Memberbasementman4-Sep-15 4:21 
QuestionMDI Application How to change Views Title Pin
Member 853403525-Aug-15 3:36
MemberMember 853403525-Aug-15 3:36 
Hi,
step by step I am creating a Visual Studio Style IDE Project, but I am running in a bunch of problems.

My application is MDI based, created in Visual Studio Style with Project Wizard.

Further I added functionality for viewing different views for each document.
For this views I need to set an application specific Windows title.

Actually I found hints how to solve:

BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
    cs.style &= ~(LONG) FWS_ADDTOTITLE;  
    return CFrameWnd::PreCreateWindow(cs);
...

CMyView::OnInitialUpdate()
{
    CView::OnInitialUpdate();
    GetParent()->SetWindowsText(_T("myText"));


But it works only partially. The default view's title disappears, but my own one is not displayed.
The title in the tab header is empty after the changes.

Maybe it is because my view is a splitter view or the ChildFrame is with a Tab Control.
I have no idea, how to solve. Anybody, who has an idea?
Many Thanks!
QuestionRe: MDI Application How to change Views Title Pin
David Crow25-Aug-15 4:05
MemberDavid Crow25-Aug-15 4:05 
AnswerRe: MDI Application How to change Views Title Pin
Member 853403525-Aug-15 4:28
MemberMember 853403525-Aug-15 4:28 
AnswerRe: MDI Application How to change Views Title Pin
Member 853403525-Aug-15 4:47
MemberMember 853403525-Aug-15 4:47 
QuestionSystem-Restore programatically Pin
Krishnakumartg24-Aug-15 1:19
MemberKrishnakumartg24-Aug-15 1:19 
AnswerRe: System-Restore programatically Pin
Richard Deeming24-Aug-15 1:43
mveRichard Deeming24-Aug-15 1:43 
GeneralRe: System-Restore programatically Pin
Krishnakumartg24-Aug-15 2:01
MemberKrishnakumartg24-Aug-15 2:01 
GeneralRe: System-Restore programatically Pin
Richard Deeming24-Aug-15 2:07
mveRichard Deeming24-Aug-15 2:07 
QuestionRe: System-Restore programatically Pin
David Crow24-Aug-15 6:37
MemberDavid Crow24-Aug-15 6:37 
QuestionMFC Visual Studio Style Project cannot change title of FileView Pin
Member 853403523-Aug-15 23:23
MemberMember 853403523-Aug-15 23:23 
QuestionCan someone take a look at this project, getting linker errors, I've done everything to fix Pin
Member 1129483021-Aug-15 7:17
MemberMember 1129483021-Aug-15 7:17 
GeneralRe: Can someone take a look at this project, getting linker errors, I've done everything to fix Pin
PIEBALDconsult21-Aug-15 7:26
professionalPIEBALDconsult21-Aug-15 7:26 
GeneralRe: Can someone take a look at this project, getting linker errors, I've done everything to fix Pin
Member 1129483021-Aug-15 7:28
MemberMember 1129483021-Aug-15 7:28 
GeneralRe: Can someone take a look at this project, getting linker errors, I've done everything to fix Pin
CPallini21-Aug-15 9:23
mveCPallini21-Aug-15 9:23 
GeneralRe: Can someone take a look at this project, getting linker errors, I've done everything to fix Pin
Member 1129483021-Aug-15 9:25
MemberMember 1129483021-Aug-15 9:25 
GeneralRe: Can someone take a look at this project, getting linker errors, I've done everything to fix Pin
CPallini21-Aug-15 9:35
mveCPallini21-Aug-15 9:35 
SuggestionRe: Can someone take a look at this project, getting linker errors, I've done everything to fix Pin
David Crow21-Aug-15 9:23
MemberDavid Crow21-Aug-15 9:23 
QuestionMFC Project Style "Visual Studio", but Single Document with multiple views Pin
Member 853403521-Aug-15 5:34
MemberMember 853403521-Aug-15 5:34 

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.