From: et1850 AT aol DOT com (Et1850) Newsgroups: comp.os.msdos.djgpp Subject: i have some questions :) Lines: 38 NNTP-Posting-Host: ladder05.news.aol.com X-Admin: news AT aol DOT com Date: 20 Mar 1999 09:55:26 GMT Organization: AOL http://www.aol.com Message-ID: <19990320045526.25910.00000315@ng-ft1.aol.com> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Some Questions 1. how do i get and r,g,b, into a one diget color. rgb needs three numbers but the command in allegro want one number. RGB mycolor = {43,56,123}; *rgb colors here are ex. set_color = (0,mycolor); *Wrong, mycolor is not const (0,&mycolor) *Wrong, mycolor is not int looking to mask sprites. but can't figure out my colors. (did it in windows using hex colors). so how would i get grey or pink (24-bit). also need to use colors for gui. 2. when getting .bmp or .pcx files(pics) from a data file is there a way to index to the next file without calling the name of the pic i have chose BASIC Ex. for i=0 to eof bmp = i next i if so that would shrink my code down considerably. :) 3. is there a way to get two dialogs to initialize at once, i've tried to create a tool bar of icons and a menu bar(in one dialog), but with all the icon procs the menu bar does not display correctly. when i put the menu bar in one dialog and the tool bar in another they both display fine. but i lose the ability to use one of the dialogs in the process.(usually the menu bar). memory is not a prob have 13M to play with. if code would be of help e-mail me for its somewhat big. 4. i get strange errors in something called sigxxx ? 5. how would one create a .h file so that way i could add them as new libs to djgpp? et1850 AT aol DOT com