Click here to Skip to main content
15,914,066 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: fast qsort implementation Pin
Mohammad A Gdeisat21-Jan-08 13:28
Mohammad A Gdeisat21-Jan-08 13:28 
GeneralRe: fast qsort implementation Pin
David Crow21-Jan-08 15:47
David Crow21-Jan-08 15:47 
GeneralRe: fast qsort implementation Pin
Mohammad A Gdeisat22-Jan-08 2:32
Mohammad A Gdeisat22-Jan-08 2:32 
GeneralConstructor help – getting data from CListView to dialog. Pin
Vaclav_21-Jan-08 6:27
Vaclav_21-Jan-08 6:27 
QuestionRe: Constructor help – getting data from CListView to dialog. Pin
CPallini21-Jan-08 7:37
mveCPallini21-Jan-08 7:37 
GeneralRe: Constructor help – getting data from CListView to dialog. Pin
Vaclav_21-Jan-08 7:52
Vaclav_21-Jan-08 7:52 
QuestionRe: Constructor help – getting data from CListView to dialog. Pin
CPallini21-Jan-08 9:56
mveCPallini21-Jan-08 9:56 
GeneralRe: Constructor help – getting data from CListView to dialog. Pin
Vaclav_21-Jan-08 13:10
Vaclav_21-Jan-08 13:10 
Now I am confused. I don't undestand what are you askig.
Here is my real code (with some exras)


// C_Dialog_Edit_Color_Weight dialog

class C_Dialog_Edit_Color_Weight : public CDialog
{
// Construction
public:


C_Edit_ *m_C_Edit_;

C_Dialog_Block *m_C_Dialog_Block;

C_Dialog_Edit_Color_Weight(CWnd* pParent = NULL); // standard constructor
C_Dialog_Edit_Color_Weight(C_Dialog_Block *pDialog, CWnd* pParent = NULL); // my dialog constructor

This constructor has no code to use C_Edit_ class ( derived from MFC CEdit) constructor with paramaters - I do not know how to code it!

But my code does work with C_Edit_ default constructor where I redefine the needed COLORREF variables - until I figure how to get the parametrized constructor in my code.


What I need:
1. Define COLORREF variable in class derived from CListView
2. Open modal dialog with list control containing CLIstView data
3. Modify list control subitems value (int) "Weight" - open another modal dialog
4. Change subitems "Text" to selected color.

What I have - the color assigment is currently retrived from the
default C_Edit_ constructor where it is "hardcoded".

Thanks for helping me.
Cheers
Vaclav
QuestionRe: Constructor help – getting data from CListView to dialog. Pin
CPallini21-Jan-08 22:03
mveCPallini21-Jan-08 22:03 
GeneralRe: Constructor help – getting data from CListView to dialog. Pin
Vaclav_22-Jan-08 5:12
Vaclav_22-Jan-08 5:12 
General[Solved?] Constructor help – getting data from CListView to dialog. Pin
Vaclav_22-Jan-08 12:06
Vaclav_22-Jan-08 12:06 
GeneralRe: [Solved?] Constructor help – getting data from CListView to dialog. Pin
Mike Danberg23-Jan-08 19:17
Mike Danberg23-Jan-08 19:17 
GeneralCalling a function Pin
newkid21-Jan-08 4:05
newkid21-Jan-08 4:05 
GeneralWrong forum Pin
CPallini21-Jan-08 4:21
mveCPallini21-Jan-08 4:21 
GeneralError in Release build (Shift Operator) Pin
Sumanta Rout21-Jan-08 3:14
Sumanta Rout21-Jan-08 3:14 
GeneralRe: Error in Release build (Shift Operator) Pin
David Crow21-Jan-08 3:36
David Crow21-Jan-08 3:36 
GeneralRe: Error in Release build (Shift Operator) Pin
Alexander M.,21-Jan-08 3:42
Alexander M.,21-Jan-08 3:42 
GeneralRe: Error in Release build (Shift Operator): is it actually a C++ compiler bug? Pin
CPallini21-Jan-08 4:04
mveCPallini21-Jan-08 4:04 
GeneralRe: Error in Release build (Shift Operator) Pin
CPallini21-Jan-08 5:04
mveCPallini21-Jan-08 5:04 
GeneralAnti keylogger Pin
Eikthrynir21-Jan-08 3:05
Eikthrynir21-Jan-08 3:05 
GeneralRe: Anti keylogger Pin
Alexander M.,21-Jan-08 3:39
Alexander M.,21-Jan-08 3:39 
GeneralRe: Anti keylogger [modified] Pin
Eikthrynir21-Jan-08 3:45
Eikthrynir21-Jan-08 3:45 
QuestionCPropertySheet PressButton does not work Pin
linton samuel dawson21-Jan-08 2:12
linton samuel dawson21-Jan-08 2:12 
QuestionRe: CPropertySheet PressButton does not work Pin
David Crow21-Jan-08 3:04
David Crow21-Jan-08 3:04 
AnswerRe: CPropertySheet PressButton does not work Pin
linton samuel dawson21-Jan-08 3:08
linton samuel dawson21-Jan-08 3:08 

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.