Click here to Skip to main content
15,908,172 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Vanished Hotkeys Pin
Peter Pearson6-Apr-01 0:15
Peter Pearson6-Apr-01 0:15 
GeneralSTL: How can I delete a <list>... Pin
Braulio Dez4-Apr-01 5:28
Braulio Dez4-Apr-01 5:28 
GeneralRe: STL: How can I delete a <list>... Pin
MikeG5-Apr-01 1:19
MikeG5-Apr-01 1:19 
GeneralHide classes from ClassView Pin
Luis Barreira4-Apr-01 5:27
Luis Barreira4-Apr-01 5:27 
GeneralRe: Hide classes from ClassView Pin
Erik Funkenbusch4-Apr-01 8:45
Erik Funkenbusch4-Apr-01 8:45 
GeneralInitialize MFC-ODBC app from query Pin
Robert Bushlow4-Apr-01 4:49
Robert Bushlow4-Apr-01 4:49 
GeneralCCheckBox buttons Pin
Roger4-Apr-01 4:27
Roger4-Apr-01 4:27 
GeneralRemove Read Only flag ? (no MFC ) Pin
Christian Graus4-Apr-01 1:57
protectorChristian Graus4-Apr-01 1:57 
If I had MFC in my app, I could just do this:

CFile file;
CFileStatus status;

if ( file.GetStatus(path, status) && (status.m_attribute & CFile::readOnly) == CFile::readOnly)
{
status.m_attribute &= (~CFile::readOnly);

file.SetStatus(path, status);
}


but it's my (in)famous WTL program, and so I do not. ( Yes, yes, it appears I can turn MFC on in the app, but that kinda misses the point, doncha think ?? ).

So how did we unset this flag programatically before MFc storlled along ?

Christian

The content of this post is not necessarily the opinion of my yadda yadda yadda.

To understand recursion, we must first understand recursion.
GeneralRe: Remove Read Only flag ? (no MFC ) Pin
4-Apr-01 3:37
suss4-Apr-01 3:37 
Questionhow to construct a OLE DB framework in regular DLL? Pin
3-Apr-01 22:21
suss3-Apr-01 22:21 
QuestionCustom Appwizard to create no MFC? Pin
3-Apr-01 20:18
suss3-Apr-01 20:18 
AnswerRe: Custom Appwizard to create no MFC? Pin
Michael Dunn3-Apr-01 22:04
sitebuilderMichael Dunn3-Apr-01 22:04 
General? Strange print behaviour Pin
Richard Ellis3-Apr-01 19:07
Richard Ellis3-Apr-01 19:07 
QuestionHow to block win98 explorer.exe when win98 startup ? Pin
Hong Bob3-Apr-01 18:31
Hong Bob3-Apr-01 18:31 
QuestionHow to block win98 explorer.exe when win98 startup ? Pin
Hong Bob3-Apr-01 18:31
Hong Bob3-Apr-01 18:31 
QuestionHow Save a CListCtrl Pin
BLaZe3-Apr-01 17:40
BLaZe3-Apr-01 17:40 
AnswerRe: How Save a CListCtrl Pin
Robert Bushlow4-Apr-01 12:48
Robert Bushlow4-Apr-01 12:48 
GeneralRe: How Save a CListCtrl Pin
BLaZe8-Apr-01 18:15
BLaZe8-Apr-01 18:15 
Generaldeveloping a ms-paint like application Pin
mayank3-Apr-01 17:16
mayank3-Apr-01 17:16 
GeneralRe: developing a ms-paint like application Pin
Christian Graus3-Apr-01 18:12
protectorChristian Graus3-Apr-01 18:12 
GeneralCString::ReleaseBuffer() Pin
3-Apr-01 16:52
suss3-Apr-01 16:52 
GeneralRe: CString::ReleaseBuffer() Pin
Michael Dunn3-Apr-01 18:39
sitebuilderMichael Dunn3-Apr-01 18:39 
GeneralRe: CString::ReleaseBuffer() Pin
Kannan Kalyanaraman3-Apr-01 20:44
Kannan Kalyanaraman3-Apr-01 20:44 
GeneralDEBUG vs. RELEASE Pin
Manfred Ramosch3-Apr-01 14:21
Manfred Ramosch3-Apr-01 14:21 
GeneralRe: DEBUG vs. RELEASE Pin
Christian Graus3-Apr-01 15:06
protectorChristian Graus3-Apr-01 15:06 

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.