Click here to Skip to main content
15,905,682 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: converting code from vc6 to vc2005 Pin
CPallini8-Mar-08 0:47
mveCPallini8-Mar-08 0:47 
Questionanyone can help me to explain code below? Pin
gentleguy7-Mar-08 0:41
gentleguy7-Mar-08 0:41 
AnswerRe: anyone can help me to explain code below? Pin
toxcct7-Mar-08 0:47
toxcct7-Mar-08 0:47 
GeneralRe: anyone can help me to explain code below? Pin
Cedric Moonen7-Mar-08 0:50
Cedric Moonen7-Mar-08 0:50 
GeneralRe: anyone can help me to explain code below? Pin
toxcct7-Mar-08 0:53
toxcct7-Mar-08 0:53 
GeneralRe: anyone can help me to explain code below? Pin
Cedric Moonen7-Mar-08 0:57
Cedric Moonen7-Mar-08 0:57 
GeneralRe: anyone can help me to explain code below? Pin
toxcct7-Mar-08 1:01
toxcct7-Mar-08 1:01 
AnswerRe: anyone can help me to explain code below? Pin
CPallini7-Mar-08 2:31
mveCPallini7-Mar-08 2:31 
li zhiyuan wrote:
m_hbmp=m_vicImg.hBitmap;

Assigns to this object's (a CDialog derived class?) m_hbmp member (probably a HBITMAP, i.e. a Bitmap handle) the value of m_vicImg.hBitmap (i.e. the member hBitmap of the m_vicImg object (that you only know and probably is another member of this object).

li zhiyuan wrote:
CStatic *pImgPicture=(CStatic*)GetDlgItem(IDC_staImg1);

Gets a pointer to a CStatic object representing the dialog static control having ID equal to IDC_staImg1.

li zhiyuan wrote:
pImgPicture->SetBitmap(m_hbmp);

Calls the SetBitmap method of the CStatic object. This should change the bitmap represented by the dialog static control.


BTW You can also get some information reading MSDN documentation.
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke


AnswerRe: anyone can help me to explain code below? Pin
Hamid_RT9-Mar-08 1:00
Hamid_RT9-Mar-08 1:00 
QuestionVisual Studio Browser Pin
Henri7-Mar-08 0:34
Henri7-Mar-08 0:34 
GeneralRe: Visual Studio Browser Pin
kanduripavan11-Mar-08 16:54
kanduripavan11-Mar-08 16:54 
General[RESOLVED]: Compile Error during project conversion from VC++6.0 to VC++ 2005 [modified] Pin
Priya_Sundar6-Mar-08 23:33
Priya_Sundar6-Mar-08 23:33 
GeneralRe: Compile Error during project conversion from VC++6.0 to VC++ 2005 Pin
toxcct6-Mar-08 23:58
toxcct6-Mar-08 23:58 
GeneralRe: Compile Error during project conversion from VC++6.0 to VC++ 2005 Pin
Priya_Sundar7-Mar-08 0:38
Priya_Sundar7-Mar-08 0:38 
GeneralRe: Compile Error during project conversion from VC++6.0 to VC++ 2005 Pin
Nathan Holt at EMOM7-Mar-08 5:58
Nathan Holt at EMOM7-Mar-08 5:58 
GeneralRe: Compile Error during project conversion from VC++6.0 to VC++ 2005 Pin
prasad_som7-Mar-08 4:01
prasad_som7-Mar-08 4:01 
GeneralRe: Compile Error during project conversion from VC++6.0 to VC++ 2005 Pin
Mike Dimmick7-Mar-08 13:56
Mike Dimmick7-Mar-08 13:56 
General[RESOLVED]: Compile Error during project conversion from VC++6.0 to VC++ 2005 Pin
Priya_Sundar9-Mar-08 18:38
Priya_Sundar9-Mar-08 18:38 
GeneralProblem accessing C++ Win32 Dll from Managed C++/C# application Pin
s.m.shah6-Mar-08 23:19
s.m.shah6-Mar-08 23:19 
GeneralRe: Problem accessing C++ Win32 Dll from Managed C++/C# application Pin
toxcct6-Mar-08 23:30
toxcct6-Mar-08 23:30 
GeneralRe: Problem accessing C++ Win32 Dll from Managed C++/C# application Pin
s.m.shah6-Mar-08 23:41
s.m.shah6-Mar-08 23:41 
GeneralRe: Problem accessing C++ Win32 Dll from Managed C++/C# application Pin
toxcct6-Mar-08 23:56
toxcct6-Mar-08 23:56 
GeneralData in Memory Pin
Anu_Bala6-Mar-08 22:37
Anu_Bala6-Mar-08 22:37 
GeneralRe: Data in Memory Pin
CPallini7-Mar-08 0:29
mveCPallini7-Mar-08 0:29 
GeneralRe: Data in Memory Pin
Koder7-Mar-08 9:17
Koder7-Mar-08 9:17 

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.