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

C / C++ / MFC

 
AnswerRe: Testing File Access Rights in MFC Pin
David Crow22-Feb-10 2:06
David Crow22-Feb-10 2:06 
GeneralRe: Testing File Access Rights in MFC Pin
staffan_v22-Feb-10 2:19
professionalstaffan_v22-Feb-10 2:19 
GeneralRe: Testing File Access Rights in MFC Pin
CPallini18-Feb-10 0:10
mveCPallini18-Feb-10 0:10 
GeneralRe: Testing File Access Rights in MFC Pin
staffan_v18-Feb-10 1:01
professionalstaffan_v18-Feb-10 1:01 
AnswerRe: Testing File Access Rights in MFC Pin
Rajesh R Subramanian17-Feb-10 23:57
professionalRajesh R Subramanian17-Feb-10 23:57 
GeneralRe: Testing File Access Rights in MFC Pin
staffan_v18-Feb-10 0:06
professionalstaffan_v18-Feb-10 0:06 
Questioncreating ISO image using VC++ [modified] Pin
podeeshk17-Feb-10 22:41
podeeshk17-Feb-10 22:41 
QuestionDynamic created button Resizing [modified] Pin
shiv@nand17-Feb-10 22:00
shiv@nand17-Feb-10 22:00 
I have created buttons dynamically
eg:
CButton* m_btn = new CButton();
m_btn->Create("ICON", BS_FLAT|WS_VISIBLE|WS_CHILD|BS_PUSHBUTTON|BS_ICON,
CRect(0,0,80,80, 8001);
after creating button ,Resizing it,
CButton *btn=(CButton *)GetDlgItem(8001);
btn->SetWindowPos(0,0,0,50,50,SWP_FRAMECHANGED | SWP_NOZORDER )

ok it works fine i can see the button with new size on dialog .

But when i save this and open the dialog the button is not displaying on the dialog it is hidden so please help me what is worng.


saving size (top,left,right,bottom) to the file and later open but the Resized button is not displaying other buttons are visible. above peace of code is just example i given not actual code.


-- Modified Thursday, February 18, 2010 4:53 AM
AnswerRe: Dynamic created button Resizing Pin
Code-o-mat17-Feb-10 22:42
Code-o-mat17-Feb-10 22:42 
AnswerRe: Dynamic created button Resizing Pin
BIJU Manjeri17-Feb-10 22:54
BIJU Manjeri17-Feb-10 22:54 
QuestionEditbox background color disappears in windows vista Pin
wuzzywezzer17-Feb-10 20:53
wuzzywezzer17-Feb-10 20:53 
QuestionProblem with Ported Application Pin
chetangbegoor17-Feb-10 19:52
chetangbegoor17-Feb-10 19:52 
AnswerRe: Problem with Ported Application Pin
Richard Andrew x6418-Feb-10 5:24
professionalRichard Andrew x6418-Feb-10 5:24 
Questionvalue that should be passed in MAKEINTRESOURCE function for application main icon Pin
learningvisualc17-Feb-10 19:41
learningvisualc17-Feb-10 19:41 
AnswerRe: value that should be passed in MAKEINTRESOURCE function for application main icon Pin
«_Superman_»17-Feb-10 19:59
professional«_Superman_»17-Feb-10 19:59 
QuestionCListCtrl with Radio Button. Pin
Le@rner17-Feb-10 19:15
Le@rner17-Feb-10 19:15 
AnswerRe: CListCtrl with Radio Button. Pin
«_Superman_»17-Feb-10 19:29
professional«_Superman_»17-Feb-10 19:29 
QuestionSystem Drive Pin
john563217-Feb-10 19:12
john563217-Feb-10 19:12 
AnswerRe: System Drive Pin
«_Superman_»17-Feb-10 19:25
professional«_Superman_»17-Feb-10 19:25 
AnswerRe: System Drive Pin
BIJU Manjeri17-Feb-10 19:27
BIJU Manjeri17-Feb-10 19:27 
QuestionRAM Pin
john563217-Feb-10 18:56
john563217-Feb-10 18:56 
AnswerRe: RAM Pin
«_Superman_»17-Feb-10 19:11
professional«_Superman_»17-Feb-10 19:11 
AnswerRe: RAM Pin
BIJU Manjeri17-Feb-10 19:18
BIJU Manjeri17-Feb-10 19:18 
QuestionMessage Removed Pin
17-Feb-10 16:24
tokime17-Feb-10 16:24 
AnswerRe: problem to get continuous output (neural network using matlab) Pin
Tim Craig17-Feb-10 20:57
Tim Craig17-Feb-10 20:57 

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.