Click here to Skip to main content
15,915,093 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CRecordset Limitation Pin
Pasha81-Dec-06 19:38
Pasha81-Dec-06 19:38 
QuestionCRecordset Limitation Pin
Pasha829-Nov-06 1:06
Pasha829-Nov-06 1:06 
Questionsockets Pin
69 Bay29-Nov-06 1:01
69 Bay29-Nov-06 1:01 
AnswerRe: sockets Pin
Mark Salsbery29-Nov-06 5:01
Mark Salsbery29-Nov-06 5:01 
Questionhow to use project files inside another project Pin
singersinger29-Nov-06 0:52
singersinger29-Nov-06 0:52 
GeneralRe: how to use project files inside another project Pin
prasad_som29-Nov-06 2:35
prasad_som29-Nov-06 2:35 
Questionbitmaps & buttons in a dialog Pin
69 Bay29-Nov-06 0:51
69 Bay29-Nov-06 0:51 
AnswerRe: bitmaps & buttons in a dialog Pin
Waldermort29-Nov-06 5:06
Waldermort29-Nov-06 5:06 
69 Bay wrote:
I have a project (dialog based) that I may need to start working on soon, that has a need for several buttons, and a bitmap to be displayed behind them.


There are many articles on CP explaining how to use Owner drawn buttons.

69 Bay wrote:
To make the application useful for future projects


Not sure how you want to use this in future projects, perhaps you could explain a little better.

69 Bay wrote:
i would like to read in the button positions from a config file, and move them to the specified location.


You may want to use an .ini file for this, .xml would come with a little too much overhead in my opinion. You could however read the .rc file.

69 Bay wrote:
1 How do you move a button in a dialog?


SetWindowPos() or MoveWindow(), though if you are reading an ini file to create the buttons you shouldn't really need to move them again unless you are implementing an anchoring system.

69 Bay wrote:
2 Can you display a bitmap in a dialog, given the .bmp filename? If so how?


Search CP for owner drawn buttons, for loading the bitmap search for one of the many DIB wrappers.
GeneralRe: bitmaps & buttons in a dialog Pin
69 Bay29-Nov-06 6:23
69 Bay29-Nov-06 6:23 
QuestionNeed some help with recording audio Pin
Jogeboy29-Nov-06 0:47
Jogeboy29-Nov-06 0:47 
Questionvisual assist 6 Pin
Tomer kahlon29-Nov-06 0:00
Tomer kahlon29-Nov-06 0:00 
AnswerRe: visual assist 6 Pin
Nibu babu thomas29-Nov-06 0:30
Nibu babu thomas29-Nov-06 0:30 
AnswerRe: visual assist 6 Pin
toxcct29-Nov-06 2:43
toxcct29-Nov-06 2:43 
GeneralRe: visual assist 6 Pin
Waldermort29-Nov-06 5:10
Waldermort29-Nov-06 5:10 
QuestionGradient color to Caption bar of SDI Application Pin
kiranin28-Nov-06 23:12
kiranin28-Nov-06 23:12 
AnswerRe: Gradient color to Caption bar of SDI Application Pin
Ratish Philip28-Nov-06 23:38
Ratish Philip28-Nov-06 23:38 
GeneralRe: Gradient color to Caption bar of SDI Application Pin
kiranin28-Nov-06 23:44
kiranin28-Nov-06 23:44 
QuestionMemory usage problem! Pin
bosfan28-Nov-06 22:44
bosfan28-Nov-06 22:44 
AnswerRe: Memory usage problem! Pin
Roger Stoltz28-Nov-06 23:18
Roger Stoltz28-Nov-06 23:18 
GeneralRe: Memory usage problem! Pin
bosfan28-Nov-06 23:27
bosfan28-Nov-06 23:27 
Questionconver project from MFC to Unicode enable Pin
Atul2328-Nov-06 22:29
Atul2328-Nov-06 22:29 
AnswerRe: conver project from MFC to Unicode enable Pin
Viorel.28-Nov-06 23:26
Viorel.28-Nov-06 23:26 
QuestionCombo Box Skinning Problem Pin
Ratish Philip28-Nov-06 22:10
Ratish Philip28-Nov-06 22:10 
QuestionProblem with .Pdp file Pin
Raghavendra Pise28-Nov-06 21:05
Raghavendra Pise28-Nov-06 21:05 
Questioncan video rotate? Pin
selectgood28-Nov-06 20:53
selectgood28-Nov-06 20:53 

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.