Click here to Skip to main content
15,919,567 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Placing Icons on a CStatic-derived class Pin
MightyThor17-Sep-02 7:00
MightyThor17-Sep-02 7:00 
QuestionHow to use webdings on a button Pin
Max Santos16-Sep-02 6:55
Max Santos16-Sep-02 6:55 
Generalwindows messages Pin
Zizilamoroso16-Sep-02 6:28
Zizilamoroso16-Sep-02 6:28 
GeneralRe: windows messages Pin
Mike Nordell16-Sep-02 6:33
Mike Nordell16-Sep-02 6:33 
GeneralRe: windows messages Pin
Zizilamoroso16-Sep-02 6:45
Zizilamoroso16-Sep-02 6:45 
GeneralRe: windows messages Pin
Pavel Klocek16-Sep-02 8:14
Pavel Klocek16-Sep-02 8:14 
GeneralProblem with "User breakpoint" and RtlFreeHeap. All help appreciated. Pin
16-Sep-02 6:20
suss16-Sep-02 6:20 
Generalpositioning problems Pin
ns16-Sep-02 5:41
ns16-Sep-02 5:41 
Other than repeated trial and error, how can I figure out the location of my control in code? I am putting two buttons on a CDialog that I want to line up under a couple of CListCtrls. I dont know how to size these since I dont know what areas I am working with. Does one somehow get the number of pixels manually from the IDE? Like if I knew the form is 600 pixels high, I would put my button at 500 pixels if its height is 50. I'm using stuff like:

m_startsearch.MoveWindow(580,30,70,30);
m_cancelsearch.MoveWindow(580,65,70,30);


I dont know if getclientrect is helpful in this case since I want to position these buttons relative to two other controls on the form, which by trial and error I've positioned the way I want. So if I knew the actual number of pixels in my form I could do the adjustments I suppose. Any ideas on how to make this process more scientific?
Thanks,
ns
GeneralRe: positioning problems Pin
Bill Wilson16-Sep-02 5:51
Bill Wilson16-Sep-02 5:51 
GeneralRe: positioning problems Pin
Max Santos16-Sep-02 6:14
Max Santos16-Sep-02 6:14 
QuestionReuse CFormview derived class as dialog? Pin
Aaron Schaefer16-Sep-02 5:23
Aaron Schaefer16-Sep-02 5:23 
AnswerRe: Reuse CFormview derived class as dialog? Pin
Pavel Klocek16-Sep-02 8:24
Pavel Klocek16-Sep-02 8:24 
GeneralSingle computer identification Pin
doctorpi16-Sep-02 5:14
doctorpi16-Sep-02 5:14 
GeneralRe: Single computer identification Pin
Max Santos16-Sep-02 6:52
Max Santos16-Sep-02 6:52 
GeneralRe: Single computer identification Pin
Renjith Ramachandran16-Sep-02 7:47
Renjith Ramachandran16-Sep-02 7:47 
GeneralRe: Single computer identification Pin
TyMatthews16-Sep-02 10:49
TyMatthews16-Sep-02 10:49 
GeneralURGENT required help on Multiple Dialog & SetTimer problem! Pin
16-Sep-02 4:52
suss16-Sep-02 4:52 
GeneralRe: URGENT required help on Multiple Dialog & SetTimer problem! Pin
Renjith Ramachandran16-Sep-02 8:18
Renjith Ramachandran16-Sep-02 8:18 
GeneralRe: URGENT required help on Multiple Dialog & SetTimer problem! Pin
ATC16-Sep-02 9:34
ATC16-Sep-02 9:34 
GeneralRe: URGENT required help on Multiple Dialog & SetTimer problem! Pin
Renjith Ramachandran19-Sep-02 2:26
Renjith Ramachandran19-Sep-02 2:26 
GeneralUpdate detail SetTimer problem Pin
Anonymous16-Sep-02 9:07
Anonymous16-Sep-02 9:07 
GeneralGetting HTML source given a IHTMLDocument2* Pin
dabs16-Sep-02 4:53
dabs16-Sep-02 4:53 
GeneralRe: Getting HTML source given a IHTMLDocument2* Pin
dabs16-Sep-02 6:10
dabs16-Sep-02 6:10 
QuestionVB 6.0 How do I open a .txt file???? Pin
BHBAD200216-Sep-02 4:52
sussBHBAD200216-Sep-02 4:52 
AnswerRe: VB 6.0 How do I open a .txt file???? Pin
Pavel Klocek16-Sep-02 5:02
Pavel Klocek16-Sep-02 5:02 

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.