Hi Chris, Nice work for sure! :) Few suggestions (only if you don't mind): 1) When the Lock is clicked, it locks OK, but docks over the bitmaps next to the download links, the placement needs a little adjusment. 2) If the article is way longer in height than the Sliding Bar, the sliding bar does not show when you are lower than the height of it (The Bar), especiallywhen on the comments at the bottom of articles. 3) What about letting the bar slide while scrolling even when unlocked? Cheers! :) -- Time, you can race it, never reverse it. --
Masoud Samimi
Posts
-
Nice work Chris! -
OpenGL+Hi Guys, Hey Chrsitian, How's things? :) Why would they extend OpenGL when they want you to use DX ? True! But the only thing I use is the DirectSound component to mix sound with the OpenGL based scenes. The OpenGL is much easier to learn and master in a very short time, IMHO. If the issue is about COM, every one who knows programming COM can just wrap the OpenGL API into one and use. I have for example done an ActiveX for 3D texts with animation features that I'd probably use on my website (HTML) someday. :) Cheers! :) -- Time, you can race it, never reverse it. --
-
OpenGLHi, Having the advantage of using MFC, you could do any of the followings: 1/ The best is to create a separate thread to do that particular job for you while the application is idle. 2/ The other option is to have the message pump method. 3/ Last but not least, is to put your anmation code in the OnIdle method of the application class. Override the OnIdle and try your code lines there. Hope these helped. Cheers! :)
-
IIS and PWSHi, Thank you for your reply and help, I appreciate it. :) - I am assuming your into the whole MS framework(not just ASP) True! - ASP, Vis. Interdev 6, SQL Server (MTS), IIS. Cheers! :)
-
IIS and PWSHi Slavo, Thank you very much. Xtreme nice ones! :-D especially the iisanswers dotcom! Cheers! :)
-
IIS and PWSHi everyone, Long time! :) Appreciate your help/recomn on getting a nice book on the IIS that as well covers the Interdev 6. What about some links to any useful EBook/Article on them for the time? Thankyou. Cheers! :)
-
Chris: No more Anonymous Posting!It is always good to have contructive arguments and I do that too. But one thing is that one man cannot change change much, but his view will of course be respected and put into consideration. I am not related to any politics at all and I'd rather keep myself that way! As for wasting time, you are right, then why waste time like now? Good Luck! Cheers! :)
-
Chris: No more Anonymous Posting!It seems to me that a globe (3dmania_s.avi) on your website is rotating the wrong direction? Wow! Thank you and it is nice to know you noticed! :-D It was done for you to notice! ;) Isn't that called Animation! Things that cannot be done in reality, then Animate them! I suppose you don't like Jurassik Park either, coz the dinasaur eats the human! Or maybe the StarWars where the strange featured creatures even talk/walk/eat like human. Its good to be creative sometimes. ;) Have fun. Cheers! :)
-
Chris: No more Anonymous Posting!I find it sad that the only two things in life that you enjoy are your son and programming. Brother! go to my website and see what else I do and have fun with as well. Would you like a full schedule of my A Day activity Paul? What I wrote about the marriage and son is just coz it's the only common thing with you, so I spoke your language and touched on your experince! You are a family supporter as I am! Why waste your time uselessly! Time is money, invest it in better things, and what best than your own family and field to be, when you got so much free time like yourself. and don't seem willing to get the intellectual stimulation from a good argument. No you are wrong! Do you have a strong accent Paul? Maybe they don't like it, ask them first! Paul you're a hotmail user, do you have MSN Messenger? I added you for a chat. Lets know eacother more just for the sake of avoiding ourselves next time? This is best for us I guess! After all you run a bisuness as well, right? Such things harm reputation Paul! Cheers! :)
-
Chris: No more Anonymous Posting!I forgot to add this: Paul, there is nothing personal from myself against you and I must tell you that also there is nothing personal from you against me! Keep the above lines always in mind Paul. Cheers! :)
-
Chris: No more Anonymous Posting!Paul! Replies can be put politely and with solid points! Beleive me it wouldn't hurt at all if you know who the person crticizing you is as much as not knwing who and get ill mannerdly flamed! Why wouldn't you dare put your name on it? Simply coz you meant to put sh*t words and hurt the opposite, Is this who you really are Mr. Paul Westcott?? I mean Come on, if what you reply is not gonna be bullsh*t, then why would you hide cowardly? ha! Be proud as you said! Paul! How old are you? from what I gathered here, you are married, right? You must be in your thirties. You gotta have children, right? Why would you wanna spent or should I say waste your time on replying flames to someone! What's the fun buddy! Are you a saddist? Are you a serial flamer? As for myself, I am 28 this year and married almost 4 years now and have a son who is 2.5 yrs old, and guess what, if I am not on the computer having FUN Programming, then I swear to my God, he is the one and only FUN in my life! I come to codeproject only at night around 11 PM, once I am back from work and just go around for new postings or look for what I need to learn! I don't waste time looking for article with authors claiming or saying or putting comments about themselves or something else! even if I see it, I wouldn't re-act childishly. If I be the child, then who would raise my Child! Ha!? Paul! Grow up buddy! Stop flaming if you do alot! Go redirect your fun towards your life and family, it pays back much much better! At last, who would I be to change anyone if God couldn't.
-
Chris: No more Anonymous Posting!Hey Man! :) Two thumbs up for you, your effort and your article. I actually voted excellent, coz it honestly is excellent and if there were no voting systems, I'd personally thank you with an email! :) We can all learn from our mistakes, but we can surely learn alot from contributors like Bill Sergio, so flamerboy, take your pick! Bill, Send more please! ;) PS. Hey flamerboy, Who cares if you post flames on this thread anyways! :rolleyes: Cheers! :)
-
Chris: No more Anonymous Posting!And anyway, flame has always been fun to play with. I mean if we all went round not expressing opinions then the world would be a very boring place. But why would you like to have fun flaming someone which would hurt them?Mr. Paul Westcot! :confused: And why is it that you take this thread personal again? Like when you took it personal on another thread? Again I am :confused:? Cheers! :)
-
Chris: No more Anonymous Posting!die hard flamers will consider prevention schemes to be a challenge True! But won't this be listed in computer crimes! somewhere near Hacking! which is internationally agreed to be punished? It is then Punishable! Right? Considering the codeproject server based in Autralia, what are the law enforcements on such acts? Also the idea/suggestion of letting the Registered/Elligible users of Codeproject to vote for deletion of a flame thread/post is kinda possible. It just needs 15 of them including the Admin to mark for deletion, and its gone! Don't you already have the option to modify/delete a thread posted by registered users? it'd be the same sheme used here and simple I guess as long as it's already done! I mean look at Bill SerGio's page! One of them even spent a whole lot of time to fetch the universe for something as little as "You VB Programmers"?! Come on! How many people commit crimes these days and get away with it? What is that to be considered at all! They just want to hurt people and unfortunately it works sometimes? It'd be best for all if this is controlled, especially talking about the Codeproject Community! Which I personally swear is the best I've ever seen since it was started! Man I miss those clean days on Codeproject! Don't you Chris (Admin) and others? God Bless. Cheers! :)
-
Chris: No more Anonymous Posting!Hi All! :-D Wow! Finally some of us decided to talk! Very nice, Thankx Matt! ;) The only reason I kinda stopped replying questions or even post any message! The flamers create fake IDs and get to you no matter what! Also having the anonymous feature is being abused by many. I guess is best to have a poll on this issue. Oh ya, didn't codeguru stop it? the anonymous postings. Why not codeproject do too? The people who come around places like here are supposed to be highly literate! Why hide behind anon and post a flame! what's your gain except hurting the other side? This is sick mentality, and like them are just losers, nothing more! By posting this I am ready to be flamed BUT BELIEVE ME, it won't effect anymore! There are people against you on the Codeproject, and I guess they are the VERY GOOD ONES! (see the names and the contributions here!) A hearty thank you to all the concerned repliers on this thread and again to Matt for the trigger! Dear Chris, I request and hope something could be done. Cheers! :)
-
CEdit & CDialogThankx to you as well! My pleasure! ;-D Programming is fun! Especially when things work! Enjoy! :-D "Socrates is a man. All men are mortal. Therefore Socrates is mortal." -- Aristotle (syllogism) Cheers Masoud Samimi Go!
-
Remove caption from toolbarHi Christian! I'd be happy to join forces with you! :) I'll put together some clean code project (VC++6 SP3, Win98) and send you soon! "Socrates is a man. All men are mortal. Therefore Socrates is mortal." -- Aristotle (syllogism) Cheers Masoud Samimi Go!
-
CEdit & CDialogHi! :) I tried this last night and it worked:
void CSizeEditDlg::OnSize(UINT nType, int cx, int cy)
{
CDialog::OnSize(nType, cx, cy);CEdit\* ce = (CEdit\*)GetDlgItem(IDC\_EDIT1); ::MoveWindow(ce->GetSafeHwnd(), 50 , 50, 200, 65 ,TRUE); // However, you must get the size of your dlg rect and do some calcs // to move the window according to the sizing value of dlg! // Just some extra test/show how you can get/use the m\_Hwnd to be safe! :) ::SetWindowText(ce->GetSafeHwnd(),"Hi There! I am being resized! :-)");
}
The above works fine, but better yet I suggest you use the CResizableDialog by Paolo Messina here on CP! Its here: http://www.codeproject.com/dialog/resizabledialog.asp It is realy Nice! :-D Good Luck! "Socrates is a man. All men are mortal. Therefore Socrates is mortal." -- Aristotle (syllogism) Cheers Masoud Samimi Go!
-
Remove caption from toolbarHello Christian, How are you! :) I had this same thing in mind and I last tried it 2 weeks ago by overriding the default NC messages, but it seems it won't work! It actually works but the defualt stuff comes back! :( I tried to programicly float the toolbar and it works inbetween here! it draws the whole window+caption with my gradient filling colors! Also tried to get the menu to delete the Close & Move items, assertions occur (violations in the
DeleteMenu(xxx)
stuff!). I wonder/interested if you tried and had any good result with this! ;) "Socrates is a man. All men are mortal. Therefore Socrates is mortal." -- Aristotle (syllogism) Cheers Masoud Samimi Go! -
Doc/View QuestionsIf mean you don't want the default document to load on startup, then this is the code:
// Parse command line for standard shell commands, DDE, file open CCommandLineInfo cmdInfo; ParseCommandLine(cmdInfo); // ADD THIS LINE RIGHT HERE! ( AFTER the above lines!) cmdInfo.m\_nShellCommand = CCommandLineInfo::FileNothing;
Add it in the
InitInstance()
of your apps class, and then make your selection dialog load and prompt user to select whatever they wanted! :) "Socrates is a man. All men are mortal. Therefore Socrates is mortal." -- Aristotle (syllogism) Cheers Masoud Samimi Go!