Click here to Skip to main content
15,898,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: unresolved external symbol "public: long __thiscall IWshRuntimeLibrary::IWshShortcut::Save(void) Pin
Richard MacCutchan3-Dec-09 1:31
mveRichard MacCutchan3-Dec-09 1:31 
GeneralRe: unresolved external symbol "public: long __thiscall IWshRuntimeLibrary::IWshShortcut::Save(void) Pin
includeh103-Dec-09 2:08
includeh103-Dec-09 2:08 
GeneralRe: unresolved external symbol "public: long __thiscall IWshRuntimeLibrary::IWshShortcut::Save(void) Pin
Richard MacCutchan3-Dec-09 2:27
mveRichard MacCutchan3-Dec-09 2:27 
Questionresizing the window Pin
uzmeed2-Dec-09 21:33
uzmeed2-Dec-09 21:33 
AnswerRe: resizing the window Pin
KingsGambit2-Dec-09 21:42
KingsGambit2-Dec-09 21:42 
GeneralRe: resizing the window Pin
uzmeed4-Dec-09 19:32
uzmeed4-Dec-09 19:32 
AnswerRe: resizing the window Pin
Cedric Moonen2-Dec-09 22:00
Cedric Moonen2-Dec-09 22:00 
AnswerRe: resizing the window Pin
Rajesh R Subramanian2-Dec-09 23:34
professionalRajesh R Subramanian2-Dec-09 23:34 
QuestionRe: resizing the window Pin
David Crow3-Dec-09 3:08
David Crow3-Dec-09 3:08 
QuestionHow can stretch an Image horizontally? Pin
Le@rner2-Dec-09 19:40
Le@rner2-Dec-09 19:40 
AnswerRe: How can stretch an Image horizontally? Pin
«_Superman_»2-Dec-09 19:44
professional«_Superman_»2-Dec-09 19:44 
GeneralRe: How can stretch an Image horizontally? Pin
Le@rner2-Dec-09 19:49
Le@rner2-Dec-09 19:49 
GeneralRe: How can stretch an Image horizontally? Pin
«_Superman_»2-Dec-09 19:50
professional«_Superman_»2-Dec-09 19:50 
GeneralRe: How can stretch an Image horizontally? Pin
Le@rner2-Dec-09 19:54
Le@rner2-Dec-09 19:54 
GeneralRe: How can stretch an Image horizontally? Pin
«_Superman_»2-Dec-09 19:55
professional«_Superman_»2-Dec-09 19:55 
GeneralRe: How can stretch an Image horizontally? Pin
Le@rner2-Dec-09 20:03
Le@rner2-Dec-09 20:03 
GeneralRe: How can stretch an Image horizontally? Pin
«_Superman_»2-Dec-09 20:06
professional«_Superman_»2-Dec-09 20:06 
GeneralRe: How can stretch an Image horizontally? Pin
Le@rner2-Dec-09 22:04
Le@rner2-Dec-09 22:04 
QuestionRe: How can stretch an Image horizontally? Pin
David Crow3-Dec-09 3:11
David Crow3-Dec-09 3:11 
GeneralRe: How can stretch an Image horizontally? Pin
«_Superman_»3-Dec-09 5:13
professional«_Superman_»3-Dec-09 5:13 
GeneralRe: How can stretch an Image horizontally? Pin
Le@rner3-Dec-09 18:05
Le@rner3-Dec-09 18:05 
CDC* dc=this->GetDC();
HDC memdc;
this->GetClientRect(&rect);
CBitmap bitmap;
bitmap.LoadBitmapA(IDB_HEADER);
BITMAP bm;
bitmap.GetBitmap(&bm);
int w = bm.bmWidth;
int h = bm.bmHeight;
memdc=::CreateCompatibleDC(dc->m_hDC);
::SelectObject(memdc,bitmap);
StretchBlt(dc->m_hDC,0,0,rect.Width(),50,memdc,0,0,w,h,SRCCOPY);
CString Title="";
m_Banner.GetWindowTextA(Title);
dc->SelectObject(m_Banner.GetFont());
dc->SetBkMode(TRANSPARENT);
dc->DrawText(Title, rect, DT_CENTER | DT_WORDBREAK);


i do like this.

To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.

GeneralRe: How can stretch an Image horizontally? Pin
Le@rner6-Dec-09 23:38
Le@rner6-Dec-09 23:38 
QuestionPrinting Unicode Characters Pin
Benjamin Bruno2-Dec-09 19:27
Benjamin Bruno2-Dec-09 19:27 
AnswerRe: Printing Unicode Characters Pin
«_Superman_»2-Dec-09 19:38
professional«_Superman_»2-Dec-09 19:38 
GeneralRe: Printing Unicode Characters Pin
Benjamin Bruno2-Dec-09 20:26
Benjamin Bruno2-Dec-09 20:26 

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.