Click here to Skip to main content
15,910,877 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: QuertyPerformanceCounter Pin
8-Feb-02 23:42
suss8-Feb-02 23:42 
GeneralFixed size Pin
Mazdak8-Feb-02 23:11
Mazdak8-Feb-02 23:11 
GeneralRe: Fixed size Pin
alex.barylski8-Feb-02 23:26
alex.barylski8-Feb-02 23:26 
GeneralRe: Fixed size Pin
Nish Nishant9-Feb-02 7:30
sitebuilderNish Nishant9-Feb-02 7:30 
GeneralRe: Fixed size Pin
alex.barylski8-Feb-02 23:41
alex.barylski8-Feb-02 23:41 
GeneralRe: Fixed size Pin
Mazdak8-Feb-02 23:55
Mazdak8-Feb-02 23:55 
GeneralRe: Fixed size Pin
Christian Graus9-Feb-02 0:03
protectorChristian Graus9-Feb-02 0:03 
GeneralRe: Fixed size Pin
Mazdak9-Feb-02 0:24
Mazdak9-Feb-02 0:24 
Christian Graus wrote:
Oh God, someone help me.

I'll help you Christian Laugh | :laugh:
this was my code:
cs.style = WS_DLGFRAME;
cs.style = WS_OVERLAPPED | WS_CAPTION | FWS_ADDTOTITLE
| WS_THICKFRAME | WS_MINIMIZEBOX | WS_SYSMENU;
cs.cx=cs.cy=600;

Here there is one problem and user can "RESIZE" the frame,of cource I have
system menu at this case,if I put WS_DLGFRAME at the end then I can't resize it but I don't have minimize and system menu.
At last I solved it with this:

cs.style = WS_OVERLAPPED | WS_CAPTION | FWS_ADDTOTITLE
| WS_THICKFRAME ;
cs.cx=cs.cy=300;

cs.style = WS_DLGFRAME;
cs.style=WS_SYSMENU| WS_MINIMIZEBOX;

and everything is ok now
thanks toboth of you
Big Grin | :-D

Mazy

Don't Marry a Person You Can Live With...
Marry Someone You Can Not Live Without
GeneralRe: Fixed size Pin
Christian Graus9-Feb-02 0:25
protectorChristian Graus9-Feb-02 0:25 
GeneralRe: Fixed size Pin
Mazdak9-Feb-02 1:31
Mazdak9-Feb-02 1:31 
GeneralRe: Fixed size Pin
Nish Nishant9-Feb-02 7:34
sitebuilderNish Nishant9-Feb-02 7:34 
GeneralRe: Fixed size Pin
Mazdak9-Feb-02 7:45
Mazdak9-Feb-02 7:45 
GeneralRe: Fixed size Pin
alex.barylski9-Feb-02 11:01
alex.barylski9-Feb-02 11:01 
GeneralRe: Fixed size Pin
Nish Nishant9-Feb-02 7:25
sitebuilderNish Nishant9-Feb-02 7:25 
QuestionHow to write a buffer containing HTML file to a CHtmlView Pin
Wolfram Steinke8-Feb-02 23:09
Wolfram Steinke8-Feb-02 23:09 
AnswerRe: How to write a buffer containing HTML file to a CHtmlView Pin
moliate10-Feb-02 7:02
moliate10-Feb-02 7:02 
QuestionHow to Open a Result Set Pin
8-Feb-02 22:31
suss8-Feb-02 22:31 
GeneralTable List Pin
8-Feb-02 22:18
suss8-Feb-02 22:18 
GeneralRe: Table List Pin
Mazdak8-Feb-02 22:21
Mazdak8-Feb-02 22:21 
GeneralProblem with vc6 Pin
Joel Holdsworth8-Feb-02 22:11
Joel Holdsworth8-Feb-02 22:11 
GeneralRe: Problem with vc6 Pin
Christian Graus8-Feb-02 22:24
protectorChristian Graus8-Feb-02 22:24 
GeneralRe: Problem with vc6 Pin
Atul Dharne8-Feb-02 23:18
Atul Dharne8-Feb-02 23:18 
GeneralOnEraseBkgnd Pin
8-Feb-02 21:25
suss8-Feb-02 21:25 
GeneralRe: OnEraseBkgnd Pin
Christian Graus8-Feb-02 22:26
protectorChristian Graus8-Feb-02 22:26 
GeneralRe: OnEraseBkgnd Pin
Neha8-Feb-02 22:27
Neha8-Feb-02 22:27 

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.