|
umm.. thanks for replying but i don't fully understand a few things here:
whats m_hwndPWOutputWindow?
whats es?
whats gbTalk for?
If you'd like to clear this up i'd be very thankful..
Kuniva
--------------------------------------------
|
|
|
|
|
i'm beginner
I search source code for display a jpeg in a dialog application with visual c++.
I have a list box with path file (c:\ttest.jpeg) and on click i search source code to show this image in a control 300*200 pixels.
Thanks a lot for your response.
please send me an email at noudard@wanadoo.Fr
nico
|
|
|
|
|
Your in luck a project of this type has receintly been submitted to code project. You can find it at http://www.codeproject.com/audio/cximagemng.asp. It is a bit much to go through but boy the things you can learn from this source.
|
|
|
|
|
if what I gave you in the first post is more than you were looking for try something a little simpler.
Like this
LVBKIMAGE lv;
ZeroMemory(&lv, sizeof(lv));
lv.ulFlags = LVBKIF_SOURCE_URL | LVBKIF_STYLE_NORMAL;
lv.pszImage = szFileName;
lv.cchImageMax = lstrlen(szFileName);
ListView_SetBkImage(hndLVCtrl, &lv);
|
|
|
|
|
2: Steven Szelei
You are right.
But what's wrong with my code, It seems be same as yours
It's me, code_cold
|
|
|
|
|
Could you told me what's wrong with my code ?
It's me, code_cold
|
|
|
|
|
I keep getting this message every time I double click an object to add code for it.
Any ideas on what may cause this or how I can fix it?
Thanks
|
|
|
|
|
are you trying to add a message handler, or a variable? (this is in the resource editor right?)
my guess is its caused by VS6 not being able to interpret your .cpp file..
Modified when adding variables:
void COptions1::DoDataExchange(CDataExchange* pDX)
{
CSAPrefsSubDlg::DoDataExchange(pDX);
DDX_Text(pDX, IDC_DATAPATH, m_strDataPath);
} Modified when adding message handlers:
BEGIN_MESSAGE_MAP(COptions1, CSAPrefsSubDlg)
ON_BN_CLICKED(IDC_BROWSEBTN, OnBrowsebtn)
END_MESSAGE_MAP()
if you took out or modified the AFX_MSG_MAP or AFX_DATA_MAP parts then VS6 wont be able to figure out where to put the code.. you can add it manually if you look at examples of how the class wizard has been doing it for you..
hope that is what you were looking for!
-dz
|
|
|
|
|
I want my MFC MDI CFormView based project to start up with the view (form)already populated with data (In my case I'll have pictures in a picture box)? Thank you,
ns
|
|
|
|
|
Sure can. Overload OnInitialUpdate().
|
|
|
|
|
Thanks! That did it.
|
|
|
|
|
here is what i am trying to do:
i am working in a splitter window in which on splitter has explorer window as i enter url of a site it loads its main page and now here i want a system to check whole site to search for working links and links that are not working or dead and after detecting alive and dead links of the site it should show the links information in tree view in on of the splitter pane .i want source code for this problem .please help me to solve this problem(using vc++6).
waseem qureshi email:waseem_1111@yahoo.com
qureshi's request
|
|
|
|
|
Have you tried http:///www.kissmyass.com ??? Your more likely to find ALL that source code there.
|
|
|
|
|
I have a class that I just deleted a couple of buttons from and then all a sudden the class disappears from the class view.
The class still compiles and everything works as if nothing is wrong....just can't access it from the class view.
I tried cleaning the project and deleting the .clw file...nada
Any idea on how to get it back?
Thanks for any help
|
|
|
|
|
When this happens, I go to the file view, open the class's header file, and make a temporary change, to force the file's "modified" flag to be set. Remove the change and hit "Save". The Class magically appears in Class view!
|
|
|
|
|
Thanks Ron that worked great!
|
|
|
|
|
Heres what I am trying to do:
I create two different documents in an MDI project. Its a CFormView based project and each view is to be associated with a different dialog resource. On the fly I want view1 to spawn view 2 (or make it topmost if it already exists). Ideally I want the app to start with both documents (and associated views) created, but the hidden one comes to the top when the top one tells it to. Then the user calls a dll which returns some info. I want to give this info to view1(or document1), and bring view1 to the top again, hiding view2.
CAn this be done? What do I need to do? ANy pointers (haha) would be greatly appreciated. Also, my first view apwans a login dialog (modal) which is to return the password successful info to view 1 so that certain menu items get enabled in view1. What do I do here to pass this information?
Thank you very much,
ns
|
|
|
|
|
I meant "spawns" not apwans...
|
|
|
|
|
sir
i want a program to search whole of the website(any) and check all the links whether those are working or not in visual c++6.
please help me, thanks
waseem ahmed
email: waseemahmed@pakistanmail.com
|
|
|
|
|
See the 5th example in my Web Resource Provider article.
/ravi
Let's put "civil" back into "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
Hi folks,
Does anyone know of any free source, components, or libraries that can open a TIFF file format and convert it to a bitmapped image. While I am at it, does anyone know of free source, components, or libraries that implement the Floyd-Stienberg dithering algorithm for halftoning. I have tried some stuff I found on the web and most of my test cases can not be opened by the code I have found.
Thanks for any help!!!
|
|
|
|
|
http://www.6ixsoft.com/
http://www.codetools.com/bitmap/graphicsuite.asp
http://www.efg2.com/Lab/Library/ImageProcessing/DHALF.TXT
http://www.efg2.com/Lab/Library/ImageProcessing/Algorithms.htm
http://thorkildsen.no/faqsys/docs/dither.c
|
|
|
|
|
there are a bunch on this site that do all of that.
the standard for TIFF reading is LibTiff (used by most of the things on this site), if you want to go right to the source, so to speak.
-c
Garbage collection, making life better - for weenies!ImgSource - Image Processing, now with extra biscuits!
|
|
|
|
|
As for the dithering, I think paintlib implements it (and paintlib works as a dream with LibTiff)
Cheers, Marc Click to see my *real* signature
|
|
|
|
|
How can i put the contents of a string into a double?
100000000000000000000000000000000 for instance?
atoi works up to the max value of a int, then it craps out...
Thanks
|
|
|
|