Type: Posts; User: bkenwright
Search took 0.01 seconds.
it's office 2007. Have you come across this before?
I was wondering if anyone had done any C# office word addin coding?
Everything is great - except I can't seem to work out how to add custom table styles. I can add normal styles. But want...
November 20th, 2006 12:48 PM
I'm currently doing this code for a flash swf file format, and it deals a lot with bit by bit data....so for example the header format would be:
version [unsigned int]
March 15th, 2003 02:13 PM
Well is there an easy way of setting all the colours, sizes and things....of a CScrollBar..
As I'd like to make the background yellow, the buttons blue etc?
I can't set all the parts using:
March 12th, 2003 02:03 PM
I dont' really use much of the .net/managed vc code, so I'm still pretty new to it....but I want to access https web sites....
so using the code:
Net::WebRequest* request =...
March 11th, 2003 10:29 AM
well I've been playing around with winsock...and I've pretty much got the http protocol understood....but now...I've been trying to write a small https piece of code...just to get a secure...
March 10th, 2003 01:48 PM
thank you, thank you,thank you, thank you,thank you, thank you,thank you, thank you,thank you, thank you,thank you, thank you,thank you, thank you,thank you, thank you,thank you,...
March 10th, 2003 11:31 AM
Well this is a problem I can't fix!..might have something to do with IP6 god know!...but would appreciate some feedback on it..
Now, using a simple winsock piece of code...I can get the html text...
Hi, I was wondering if anyone had any idea how to get the handle to the individual tab windows...you can't use TabCtrl_GetItem(..) because that only returns the HWND of the window that added a tab...
If you want it so that if you click on files with a specific extension...e.g. .myf, then you have to set this in the registry.
The code snippet from "0xC0000005" is ideally what you should do.
Nice job 0xC0000005 ;)
but notepad sets a reminder in your registry...so it knows what font/size you where using last.
If you open a different .txt file with notepad...it should use the last settings.
If you jsut want to change the image...there's a class called
with a member:
UINT nIDBitmapResourceSel = 0,
The only way I know of is either subclassing...e.g. inheriting your own class and doing your own drawing.
class CMyButton : public CButton
... etc etc
or setting a new proc...using...
I think you should create a bitmap and select it into the dc...
e.g. BOOL CreateCompatibleBitmap(
.txt files only store the asci characters...they don't store any font/size details.
It would have to be a rich text file format or some other file format if you needed to store such information.
Is the dialog box you are creating modeless or modal ?
I think you would have to pass a pointer to the parent to the dialog box...e.g. either the View or the Document class pointer.
Using this you can get to the other classes.
HICON hMyIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_ICON1));
Then to display it on the button, use
DrawIcon(hDC, x_position, y_position, hMyIcon);
Hope this helps
All you need to do to draw an icon in the dialog is load the icon in and use the api, DrawIcon(..).
DrawIcon(hDC, x_position, y_position, hIcon);
for example, if you have an icon as a...
Thanx for the feedback JohnnyCoder, it really is a help to know that someone else has had the problems I'm having.
Again I used a similar method...but I injected the dll into the other...
I recently came across an annoying thing on a friends computer...whenever my friend selected print...from any application - the print dialog box had an advert underneath.
I'm pretty sure about...
Its simple, I've been trying to do a class, so that you can fill it up with an array of hierachial information...the same as used in CTreeCtrl
branch = insertitem("string", branch);
it might work....but I think I might just give up on CTreeCtrls' forever and storing data....life just is to short!...2 days!...my god!!...just playing with linked lists...no more I...
I just can't figure it out. Its probably so simple - but I just can't see it.
I wan't to be able to store a complete list of data (e.g CString objects for example) in some sort of...
Click Here to Expand Forum to Full Width