Click here to Skip to main content
16,007,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Make sure it's a static function Pin
adamUK23-Sep-02 21:43
adamUK23-Sep-02 21:43 
GeneralRe: Make sure it's a static function Pin
Daniel Lohmann24-Sep-02 8:28
Daniel Lohmann24-Sep-02 8:28 
Generalwindow smoothing on static controls Pin
Anonymous23-Sep-02 11:42
Anonymous23-Sep-02 11:42 
GeneralRe: window smoothing on static controls Pin
Shog923-Sep-02 12:35
sitebuilderShog923-Sep-02 12:35 
Questionlocation of dll on users machine. Where to put it? Pin
ns23-Sep-02 11:22
ns23-Sep-02 11:22 
AnswerRe: location of dll on users machine. Where to put it? Pin
Joaquín M López Muñoz23-Sep-02 11:30
Joaquín M López Muñoz23-Sep-02 11:30 
Generalthanks very much Pin
ns23-Sep-02 11:32
ns23-Sep-02 11:32 
Generalproblem with pasting bitmap into a clipboard Pin
Mariusz Popiolek23-Sep-02 9:57
sussMariusz Popiolek23-Sep-02 9:57 
Hi
I'm trying to paste bitmap from program resources into a clipboard:

#ifdef UNIETSIOFFICE_EXPORTS
#define UNIETSI_API __declspec(dllexport)
#else
#define UNIETSI_API __declspec(dllimport)
#endif
int UNIETSI_API WINAPI uniETSIOfficePasteIcon(int nIconId)
{
CBitmap Bitmap;
Bitmap.LoadBitmap( nIconId );
OpenClipboard( 0 );
SetClipboardData( CF_BITMAP, Bitmap );
CloseClipboard();
}

This function is in mfcdll(mfc is linked statically) and everything works perfect in Win2000 (in which I have made my dll) but when I have tried this in Win98 nothing appears in clipboard(dll works, my function executes, all functions used in this code seems to work - return code !=0 - but nothing appears in clipboard). I don't know what is wrong.

Greetings
Mariusz Popiolek
GeneralRe: problem with pasting bitmap into a clipboard Pin
Joaquín M López Muñoz23-Sep-02 11:18
Joaquín M López Muñoz23-Sep-02 11:18 
GeneralRe: problem with pasting bitmap into a clipboard Pin
Mariusz Popiolek24-Sep-02 0:28
sussMariusz Popiolek24-Sep-02 0:28 
GeneralRe: problem with pasting bitmap into a clipboard Pin
Tomasz Sowinski24-Sep-02 0:07
Tomasz Sowinski24-Sep-02 0:07 
GeneralAttn: Shell Gurus Pin
Turtle needs Shell help23-Sep-02 9:53
sussTurtle needs Shell help23-Sep-02 9:53 
GeneralRe: Attn: Shell Gurus Pin
Stephane Rodriguez.23-Sep-02 11:21
Stephane Rodriguez.23-Sep-02 11:21 
GeneralRe: Attn: Shell Gurus Pin
Stephane Rodriguez.24-Sep-02 5:32
Stephane Rodriguez.24-Sep-02 5:32 
GeneralNew to computer programming Pin
Brandinimo23-Sep-02 9:30
Brandinimo23-Sep-02 9:30 
GeneralRe: New to computer programming Pin
Joaquín M López Muñoz23-Sep-02 9:41
Joaquín M López Muñoz23-Sep-02 9:41 
GeneralRe: New to computer programming Pin
SanShou23-Sep-02 9:52
SanShou23-Sep-02 9:52 
GeneralRe: New to computer programming Pin
Atlantys23-Sep-02 10:09
Atlantys23-Sep-02 10:09 
GeneralRe: New to computer programming Pin
mystro_AKA_kokie23-Sep-02 10:03
mystro_AKA_kokie23-Sep-02 10:03 
GeneralRe: New to computer programming Pin
James A Beggs23-Sep-02 10:20
James A Beggs23-Sep-02 10:20 
GeneralRe: New to computer programming Pin
mystro_AKA_kokie23-Sep-02 11:57
mystro_AKA_kokie23-Sep-02 11:57 
GeneralRe: New to computer programming Pin
James A Beggs23-Sep-02 12:07
James A Beggs23-Sep-02 12:07 
GeneralRe: New to computer programming Pin
Todd Smith23-Sep-02 16:16
Todd Smith23-Sep-02 16:16 
GeneralSide-By-Side assemblies in Win XP Pin
andi23-Sep-02 8:57
andi23-Sep-02 8:57 
GeneralRe: Side-By-Side assemblies in Win XP Pin
Stephane Rodriguez.23-Sep-02 9:04
Stephane Rodriguez.23-Sep-02 9:04 

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.